diff options
Diffstat (limited to 'roles/space_server')
-rw-r--r-- | roles/space_server/files/ansible/hosts | 11 | ||||
-rw-r--r-- | roles/space_server/tasks/ansible.yml | 33 | ||||
-rw-r--r-- | roles/space_server/tasks/main.yml | 2 |
3 files changed, 0 insertions, 46 deletions
diff --git a/roles/space_server/files/ansible/hosts b/roles/space_server/files/ansible/hosts deleted file mode 100644 index 3091e4a..0000000 --- a/roles/space_server/files/ansible/hosts +++ /dev/null @@ -1,11 +0,0 @@ -# This is the default ansible 'hosts' file. -# -# It should live in /etc/ansible/hosts -# -# - Comments begin with the '#' character -# - Blank lines are ignored -# - Groups of hosts are delimited by [header] elements -# - You can enter hostnames or ip addresses -# - A hostname/ip can be a member of multiple groups - -space ansible_connection=local diff --git a/roles/space_server/tasks/ansible.yml b/roles/space_server/tasks/ansible.yml deleted file mode 100644 index 209cb5b..0000000 --- a/roles/space_server/tasks/ansible.yml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Create /etc/ansible/hosts - copy: - dest: '/etc/ansible/hosts' - src: ansible/hosts - owner: root - group: root - mode: 0644 - -- name: Configure ansible - ini_file: - path: '/etc/ansible/ansible.cfg' - section: '{{ item.section }}' - option: '{{ item.option }}' - value: '{{ item.value }}' - with_items: - - section: defaults - option: 'gathering' - value: 'smart' - - section: defaults - option: 'fact_caching' - value: 'jsonfile' - - section: defaults - option: 'fact_caching_connection' - value: '/tmp/ansible' - - section: defaults - option: 'fact_caching_timeout' - value: '600' - - section: defaults - option: 'error_on_missing_handler' - value: 'True' - -# vim: set ts=2 sw=2 et: diff --git a/roles/space_server/tasks/main.yml b/roles/space_server/tasks/main.yml index 0a0aed0..5b93e60 100644 --- a/roles/space_server/tasks/main.yml +++ b/roles/space_server/tasks/main.yml @@ -9,8 +9,6 @@ tags: - fstab -- import_tasks: ansible.yml - tags: ansible - import_tasks: sudo.yml tags: sudo - import_tasks: kernel.yml |