Move rackspace repo management to the repos role

Also fix a typo.

Change-Id: Ie5e986eae3fb4b5c26889e4ebba194cf0fd4fd50
This commit is contained in:
Monty Taylor 2020-05-27 08:50:16 -05:00
parent e8716e742e
commit 7be1857fb5
3 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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