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 @@ ...@@ -51,12 +51,15 @@
rm -rf /usr/local/qcloud rm -rf /usr/local/qcloud
args: args:
removes: /usr/local/qcloud removes: /usr/local/qcloud
- name: clean lighthouse ssh key - name: clean specific ssh keys
become: true become: true
file: file:
path: /home/lighthouse/.ssh/authorized_keys path: /home/{{item}}/.ssh/authorized_keys
state: absent state: absent
when: ansible_ssh_user != 'lighthouse' when: ansible_ssh_user != item
with_items:
- lighthouse
- admin
- name: timezone - name: timezone
become: true become: true
timezone: 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