From a66d3b615edab314ef42057b8d79a57139b7bf2a Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 1 Mar 2021 00:17:13 +0000 Subject: [PATCH] updating tasks --- tasks.todo | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tasks.todo b/tasks.todo index ec08c16..1d3eea0 100644 --- a/tasks.todo +++ b/tasks.todo @@ -1,3 +1,11 @@ Tasks: ☐ 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) + + 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`