Move rackspace repo management to the repos role
Also fix a typo. Change-Id: Ie5e986eae3fb4b5c26889e4ebba194cf0fd4fd50
This commit is contained in:
parent
e8716e742e
commit
7be1857fb5
@ -1,3 +1,13 @@
|
||||
- name: Remove Rackspace APT repo
|
||||
file:
|
||||
path: /etc/apt/sources.list.d/ospc.list
|
||||
state: absent
|
||||
register: rax_apt_repo_removed
|
||||
|
||||
- name: Remove Rackspace signing key
|
||||
when: rax_apt_repo_removed.changed
|
||||
command: apt-key del 4096R/CB1EF1DB
|
||||
|
||||
- name: Configure apt retries
|
||||
copy:
|
||||
mode: 0444
|
||||
|
@ -1,7 +1,3 @@
|
||||
- name: Remove Rackspace signing key
|
||||
when: rax_apt_repo_removed.changed
|
||||
command: apt-key del 4096R/CB1EF1DB
|
||||
|
||||
- name: Disable install of additional recommends and suggests packages
|
||||
copy:
|
||||
mode: 0444
|
||||
|
@ -1,9 +1,3 @@
|
||||
- name: Remove Rackspace APT repo
|
||||
file:
|
||||
path: /etc/apt/sources.list.d/ospc.list
|
||||
state: absent
|
||||
register: rax_apt_repo_removed
|
||||
|
||||
- name: Install base packages
|
||||
package:
|
||||
state: present
|
||||
@ -35,7 +29,7 @@
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
- name: Set ssh key for managment
|
||||
- name: Set ssh key for management
|
||||
authorized_key:
|
||||
state: present
|
||||
user: root
|
||||
|
Loading…
Reference in New Issue
Block a user