Include ansible centos repo link and install the latest ansible

Instead of sourcing ansible from epel or extras, we'll now use the
official Ansible repo
This commit is contained in:
Matthew Jones
2017-09-15 23:31:10 -04:00
parent 9cbe2faed6
commit f1a9c4ef0e
4 changed files with 72 additions and 1 deletions

View File

@@ -160,6 +160,18 @@
dest: "{{ docker_base_path }}/Makefile"
delegate_to: localhost
- name: State ansible repo
copy:
src: 'ansible.repo'
dest: '{{ docker_base_path }}/ansible.repo'
delegate_to: localhost
- name: State ansible repo key
copy:
src: 'RPM-GPG-KEY-ansible-release'
dest: '{{ docker_base_path }}/RPM-GPG-KEY-ansible-release'
delegate_to: localhost
- name: Build base web image
docker_image:
buildargs: