From ee03bd3cb77390dcf2e8f86161c2c11ebf75d0f1 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 27 Aug 2020 14:43:19 +0300 Subject: [PATCH] ansible-host: More fixes to support out of box install --- ansible.cfg | 9 +++++++++ roles/ansible-host/tasks/main.yml | 1 + 2 files changed, 10 insertions(+) create mode 100644 ansible.cfg diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..fb116af --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,9 @@ +[defaults] +inventory = hosts +roles_path = roles + +gathering = smart +fact_caching = jsonfile +fact_caching_connection = facts +fact_caching_timeout = 86400 + diff --git a/roles/ansible-host/tasks/main.yml b/roles/ansible-host/tasks/main.yml index b2b192d..e74af48 100644 --- a/roles/ansible-host/tasks/main.yml +++ b/roles/ansible-host/tasks/main.yml @@ -12,6 +12,7 @@ - ansible - git - libvirt-client + - python3-netaddr # required by iptables role - virt-install - yamllint