Merge "Fix YAML indentation"
This commit is contained in:
commit
6b17525b93
@ -16,26 +16,26 @@
|
|||||||
- name: ubuntu | ensure community ceph repository key is installed
|
- name: ubuntu | ensure community ceph repository key is installed
|
||||||
when: ansible_distribution == 'Ubuntu'
|
when: ansible_distribution == 'Ubuntu'
|
||||||
apt_key:
|
apt_key:
|
||||||
id: "460F3994"
|
id: "460F3994"
|
||||||
keyserver: "keyserver.ubuntu.com"
|
keyserver: "keyserver.ubuntu.com"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: ubuntu | ensure community ceph repository exists
|
- name: ubuntu | ensure community ceph repository exists
|
||||||
when: ansible_distribution == 'Ubuntu'
|
when: ansible_distribution == 'Ubuntu'
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb https://download.ceph.com/debian-mimic/ {{ ansible_lsb.codename }} main"
|
repo: "deb https://download.ceph.com/debian-mimic/ {{ ansible_lsb.codename }} main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: centos | ensure community ceph repository exists
|
- name: centos | ensure community ceph repository exists
|
||||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: ceph
|
name: ceph
|
||||||
description: "Ceph community packages for Redhat/Centos"
|
description: "Ceph community packages for Redhat/Centos"
|
||||||
gpgkey: "https://download.ceph.com/keys/release.asc"
|
gpgkey: "https://download.ceph.com/keys/release.asc"
|
||||||
baseurl: "https://download.ceph.com/rpm-mimic/el7/$basearch"
|
baseurl: "https://download.ceph.com/rpm-mimic/el7/$basearch"
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: centos | installing epel-release
|
- name: centos | installing epel-release
|
||||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user