# HG changeset patch # User Meredith Howard # Date 1498263851 14400 # Node ID 9c024e39a565f92f68a48028f6a7c1cf909179d9 # Parent 082685c4bd2a594b67fc143503d5f75fe64a0060 clean up task names diff --git a/roles/bootstrap/tasks/disable-stock.yml b/roles/bootstrap/tasks/disable-stock.yml --- 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: diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml --- 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 diff --git a/roles/devbox/tasks/main.yml b/roles/devbox/tasks/main.yml --- 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 diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml --- 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