clean up task names

Fri, 23 Jun 2017 20:24:11 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 23 Jun 2017 20:24:11 -0400
changeset 76
9c024e39a565
parent 75
082685c4bd2a
child 77
0e0bfcf9ffb7

clean up task names

roles/bootstrap/tasks/disable-stock.yml file | annotate | diff | comparison | revisions
roles/bootstrap/tasks/main.yml file | annotate | diff | comparison | revisions
roles/devbox/tasks/main.yml file | annotate | diff | comparison | revisions
roles/user/tasks/main.yml file | annotate | diff | comparison | revisions
--- a/roles/bootstrap/tasks/disable-stock.yml
+++ b/roles/bootstrap/tasks/disable-stock.yml
@@ -1,5 +1,5 @@
 ---
-- name: "Bootstrap: Disable stock users"
+- name: "Disable stock users"
   shell: usermod -e 1 {{item}}
   ignore_errors: true
   with_items:
--- a/roles/bootstrap/tasks/main.yml
+++ b/roles/bootstrap/tasks/main.yml
@@ -1,5 +1,5 @@
 ---
-- name: "Bootstrap: Ansible control user"
+- name: "Ansible control user"
   user:
     name: ansible
     comment: "Ansible Controller"
@@ -9,7 +9,7 @@
     system: true
     state: present
 
-- name: "Bootstrap : ansible pubkeys"
+- name: "Ansible pubkeys"
   authorized_key:
     manage_dir: true
     user: ansible
@@ -17,7 +17,7 @@
   with_file:
     - 'public_keys/ansible'
 
-- name: "Bootstrap : ansible sudo"
+- name: "Ansible sudo"
   lineinfile:
     dest: /etc/sudoers
     state: present
--- a/roles/devbox/tasks/main.yml
+++ b/roles/devbox/tasks/main.yml
@@ -3,7 +3,7 @@
 - include: dist-debian.yml
   when: ansible_os_family == 'Debian'
 
-- name: "ssh : Sync system ssh_known_hosts"
+- name: "Sync system ssh_known_hosts"
   copy:
     src:  ssh_known_hosts
     dest: /etc/ssh/ssh_known_hosts
--- a/roles/user/tasks/main.yml
+++ b/roles/user/tasks/main.yml
@@ -1,6 +1,6 @@
 ---
 # Create/update my user, don't clobber my extra groups.
-- name: User setup
+- name: "User setup"
   user:
     name: "{{user_name}}"
     comment: "{{user_comment}}"
@@ -10,7 +10,7 @@
   register: user
   tags: user
 
-- name: "ssh : Pubkey for user"
+- name: "User authorized_keys"
   authorized_key:
     manage_dir: true
     user: "{{user_name}}"
@@ -19,7 +19,7 @@
     - public_keys/{{user_name}}
   tags: user, ssh
 
-- name: Clone dotfiles
+- name: "Clone dotfiles"
   become: true
   become_user: "{{user_name}}"
   shell: >
@@ -32,7 +32,7 @@
     creates: "{{user.home}}/.hg"
   tags: user, dotfiles
 
-- name: Assert hg sources
+- name: "Dotfiles hg sources"
   become: true
   become_user: "{{user_name}}"
   ini_file:
@@ -47,7 +47,7 @@
     - {name: 'default-push', url: "{{dotfiles_default_push}}"}
   tags: user, dotfiles
 
-- name: Update dotfiles
+- name: "Update dotfiles"
   become: true
   become_user: "{{user_name}}"
   command: hg pull -u
@@ -58,7 +58,7 @@
   failed_when: update_dotfiles.rc > 1
   tags: user, dotfiles
 
-- name: Run bin/homedir-setup
+- name: "Run bin/homedir-setup"
   become: true
   become_user: "{{user_name}}"
   shell: bin/homedir-setup

mercurial