Commit adc33d81 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Remove legacy upgrade and legacy keys.

parent 0d675272
......@@ -57,3 +57,5 @@
- name: Set Cron
cron: name="Launch Upgrader" minute="0" hour="*/3" job='ansible-playbook upgrader-run.yml --with-vars "upgrader-playbook={{ upgrader_playbook }}" -i hosts >> /opt/upgrader/latest_upgrade.log'
- include: remove-legacy.yml
- name: Remoce cron entry
file: path={{ item }} state=absent
with_items:
- /etc/cron.d/slapkg-update
- /usr/local/bin/slappkg-conf
- /usr/local/bin/slappkg-update
- /usr/local/bin/slappkg-upload-key
- /usr/local/bin/slappkg-discover
- /usr/local/bin/slappkg-update-raw
- /etc/opt/update.cfg
- /usr/local/lib/python2.7/dist-packages/slapos.package-0.2.1.1-py2.7.egg
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdNp7qZMVAzNc07opHshiIFDmJpYXQpetfcSgUj39a409d42PpsJElp7WsAE/x0nN6gUIoWIl7UiAlMzf6bKSi60ioPE8RPTmiJVlgK1Gp+kE0x9yNcncYg7p38Jny0daVA/NkkpAFyRsAm5kLGzyLtaCcktSvy0cJuy7WSSHU05pd1f8Y8thofE9g5t+/JA2VZvipxPkRfkFAG3aOAGLULlTImTnS1qcMY9D1XB441oF5F6mMnl7yvY2d6vEHVBu+K+aKmAwZVfCUwtSpa/tq3i2Lppjrw3UfrxbQ7M2w9fsr+u+l4YYe+tJrX7rYJYXD7LIfZfdSeFTlHFaN/yI1 cedricdesaintmartin@SlapOS-One.local
- name: Add rafael SSH Key
- name: Add R SSH Key
authorized_key: user=root key="{{ lookup('file', 'rafael_key') }}"
- name: Add rafael SSH Key
- name: Add A SSH Key
authorized_key: user=root key="{{ lookup('file', 'alain_key') }}"
- name: Remove C Key
authorized_key: user=root key="{{ lookup('file', 'remove_key_0') }}" state=absent
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment