Fixing ansible playbook for centos installation

Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
This commit is contained in:
Abhinandan Prativadi 2017-09-22 17:50:41 -04:00
parent 73a5f7d9b1
commit ffd2e0e32e
2 changed files with 11 additions and 9 deletions

View File

@ -3,11 +3,11 @@
yum:
name: "{{ item }}"
state: latest
with_items:
- unzip
- tar
- btrfs-progs-devel
- libseccomp-devel
- util-linux
- socat
- libselinux-python
with_items:
- unzip
- tar
- btrfs-progs-devel
- libseccomp-devel
- util-linux
- socat
- libselinux-python

View File

@ -25,7 +25,9 @@
gpgcheck: yes
enabled: yes
repo_gpgcheck: yes
gpgkey: https://packages.cloud.google.com/yum/doc/yum-key.gpg
gpgkey:
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
when: ansible_distribution == "CentOS"
- name: "Disable SELinux (CentOS)"