From: Oleg Broytman Date: Tue, 16 Jul 2019 00:35:16 +0000 (+0300) Subject: Fix plays and tasks names X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=7cd26fff474f13bf4f6993547ec23773509f8820;p=ansible.git Fix plays and tasks names --- diff --git a/playbooks/adjtimex.yml b/playbooks/adjtimex.yml index 7101e79..de07090 100644 --- a/playbooks/adjtimex.yml +++ b/playbooks/adjtimex.yml @@ -1,9 +1,9 @@ -- name: adjtimex: sync time and adjust kernel coefficients +- name: "adjtimex: sync time and adjust kernel coefficients" hosts: "{{ hosts | default('all') }}" gather_facts: false become: true tasks: - - name: Copy the script + - name: Copy the script adjtimex.sh copy: src: ~/admin/prog/adjtimex.sh dest: /usr/local/sbin/adjtimex.sh diff --git a/playbooks/debian-init-system.yml b/playbooks/debian-init-system.yml index d0d28b6..61be2f4 100644 --- a/playbooks/debian-init-system.yml +++ b/playbooks/debian-init-system.yml @@ -1,4 +1,4 @@ -- name: Create user phd +- name: Configure Debain system hosts: "{{ hosts | default('servers') }}" gather_facts: false roles: diff --git a/playbooks/debian-update-all-apt.yml b/playbooks/debian-update-all-apt.yml index 8422c48..40a1af7 100644 --- a/playbooks/debian-update-all-apt.yml +++ b/playbooks/debian-update-all-apt.yml @@ -3,7 +3,7 @@ become: yes gather_facts: false tasks: - - name: Updating host using apt + - name: Update system using apt apt: autoclean: yes autoremove: yes diff --git a/playbooks/roles/debian-phd/tasks/setup-home.yml b/playbooks/roles/debian-phd/tasks/setup-home.yml index a000aec..8f7b112 100644 --- a/playbooks/roles/debian-phd/tasks/setup-home.yml +++ b/playbooks/roles/debian-phd/tasks/setup-home.yml @@ -1,4 +1,4 @@ -- name: Upload and extract archive +- name: Upload and extract home archive unarchive: src: ~/archive/STORE/phd/Home/phd.tar.bz2 dest: /home diff --git a/playbooks/roles/debian-sudo/tasks/main.yml b/playbooks/roles/debian-sudo/tasks/main.yml index 242a373..c9bea00 100644 --- a/playbooks/roles/debian-sudo/tasks/main.yml +++ b/playbooks/roles/debian-sudo/tasks/main.yml @@ -13,7 +13,7 @@ append: yes groups: sudo -- name: Allow passwordless operations +- name: Allow passwordless operations for phd become: true copy: content: 'phd ALL=(ALL:ALL) NOPASSWD: ALL'