From: Justin Wind Date: Fri, 8 Sep 2017 19:18:29 +0000 (-0700) Subject: minor tweaks to roles X-Git-Url: http://git.squeep.com/?p=awsible;a=commitdiff_plain;h=933c48ff1e134168de3aaa2d20e4d43c13d04928 minor tweaks to roles --- diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index bbed536..c65548d 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -15,7 +15,7 @@ - boto3 pip: name: "{{ item }}" - state: present + state: latest - name: Common packages with_items: diff --git a/roles/management/tasks/main.yml b/roles/management/tasks/main.yml index 0a99c75..ba24f86 100644 --- a/roles/management/tasks/main.yml +++ b/roles/management/tasks/main.yml @@ -9,13 +9,21 @@ name: "{{ item }}" state: present +- name: Install epel utils + with_items: + - pwgen + yum: + enablerepo: epel + name: "{{ item }}" + state: latest + - name: Install PIP things with_items: - ansible - boto3 pip: name: "{{ item }}" - state: present + state: latest - name: Gather AWS info action: ec2_facts diff --git a/roles/msca/tasks/main.yml b/roles/msca/tasks/main.yml index 82baa87..90736e8 100644 --- a/roles/msca/tasks/main.yml +++ b/roles/msca/tasks/main.yml @@ -14,6 +14,7 @@ creates: /etc/yum.repos.d/msca-ops.repo - name: repo perms + ignore_errors: "{{ ansible_check_mode }}" file: path: /etc/yum.repos.d/msca-ops.repo owner: root