Fixed bugs with setup of ansible.cfg
diff --git a/.gitignore b/.gitignore index 6d5a6b8..48dcfc1 100644 --- a/.gitignore +++ b/.gitignore
@@ -112,3 +112,4 @@ *retry *.db *~ +ansible.cfg
diff --git a/ansible.cfg b/ansible.cfg index 1025f15..2ecbd43 100755 --- a/ansible.cfg +++ b/ansible.cfg
@@ -1,11 +1,10 @@ [defaults] -# hostfile = ~/.ansible/inventory/vz-edge-1701-aio -fact_caching_connection = ~/.ansible/tmp/cache/vz-edge-1701-aio -log_path = ~/.ansible/tmp/logs/vz-edge-1701-aio.log +hostfile = ~/.ansible/inventory/ +fact_caching_connection = ~/.ansible/tmp/cache/ +log_path = ~/.ansible/tmp/logs/ -remote_user = friasca +# remote_user = friasc private_key_file = ~/.ssh/id_rsa -become_method = pbrun roles_path = ~/.ansible/roles local_tmp = ~/.ansible/tmp
diff --git a/setup-ansible-config.yml b/setup-ansible-config.yml index 906f845..d4ff2d1 100644 --- a/setup-ansible-config.yml +++ b/setup-ansible-config.yml
@@ -5,7 +5,7 @@ - repository-custom-properties.yml vars_prompt: - name: username - prompt: "Enter your username ID" + prompt: "Enter your the username for ansible" private: no tasks: - name: Create ansible.cfg file from template
diff --git a/setup.yml b/setup.yml index 6899461..d391fc6 100644 --- a/setup.yml +++ b/setup.yml
@@ -1,4 +1,6 @@ --- +- include: setup-ansible-config.yml + #- include: control-server.yml - include: setup-base.yml