updating tasks

This commit is contained in:
2021-03-01 00:17:13 +00:00
parent 47a2a6ffd1
commit a66d3b615e

View File

@@ -1,3 +1,11 @@
Tasks: Tasks:
☐ Create initial folder layout @started(21-02-28 23:29) ☐ Create initial folder layout @started(21-02-28 23:29)
Create test playbook with a task Create test playbook with a task @done(21-03-01 00:16)
✔ Document creating a hosts file, and an `ansible.cfg` to create an inventory @done(21-03-01 00:07)
<https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html>
Alternative to using an `ansible.cfg` is using the flag `-i hosts`
Hosts file can contain `ansible_user` and `ansible_ssh_pass` under a `vars` header
✔ Test a connection with `ansible all -m ping` @done(21-03-01 00:08)
☐ Document commands
Run a playbook with `ansible-playbook -b test.yml`
Point to an inventory with `-i hosts`