From 7cd26fff474f13bf4f6993547ec23773509f8820 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 16 Jul 2019 03:35:16 +0300 Subject: [PATCH] Fix plays and tasks names --- playbooks/adjtimex.yml | 4 ++-- playbooks/debian-init-system.yml | 2 +- playbooks/debian-update-all-apt.yml | 2 +- playbooks/roles/debian-phd/tasks/setup-home.yml | 2 +- playbooks/roles/debian-sudo/tasks/main.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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' -- 2.39.2