Skip to content

[Reactjs & Python] Simplify refacto in old Ansible project

License

Notifications You must be signed in to change notification settings

Courouge/ansible-beautify

Repository files navigation

Build Status

Ansible beautify tasks [One-liner ansible syntax to multiligne full yaml]

Transform this ↓

- name: Insert trololo
  lineinfile: dest=/etc/trololo state=present regexp="{{ trololo }}" insertafter="trololo" line="trololo"
  notify: restart trololo

To that ↓

- name: Insert trololo
  lineinfile:
    dest: /etc/trololo
    regexp: {{ trololo }}
    insertafter: trololo
    line: trololo
    state: present
  notify: restart trololo

Support all module ! If you have your own library, no problem add it on the modules.txt file :)

Running

sudo docker-compose up -d --force-recreate --build && sudo docker-compose up

check ==> http://localhost:3000/

About

[Reactjs & Python] Simplify refacto in old Ansible project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published