Commit 8ca0739a authored by nanahira's avatar nanahira

clean

parent 1a33fed8
Pipeline #10836 failed with stage
in 1 minute and 46 seconds
......@@ -51,12 +51,15 @@
rm -rf /usr/local/qcloud
args:
removes: /usr/local/qcloud
- name: clean lighthouse ssh key
- name: clean specific ssh keys
become: true
file:
path: /home/lighthouse/.ssh/authorized_keys
path: /home/{{item}}/.ssh/authorized_keys
state: absent
when: ansible_ssh_user != 'lighthouse'
when: ansible_ssh_user != item
with_items:
- lighthouse
- admin
- name: timezone
become: true
timezone:
......
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