You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
619 B
22 lines
619 B
2 years ago
|
---
|
||
|
- name: Proxmox maintenance
|
||
|
hosts: proxmox
|
||
|
tasks:
|
||
|
- name: Ensuring login-check is present
|
||
|
ansible.builtin.copy:
|
||
|
src: /home/michael/ansible/files/prox-login-check.sh
|
||
|
dest: /root/prox-login-check
|
||
|
mode: "0755"
|
||
|
|
||
|
- name: Ensuring login-check is configured to run on login
|
||
|
ansible.builtin.lineinfile:
|
||
|
state: present
|
||
|
insertafter: "EOF"
|
||
|
line: "/root/prox-login-check"
|
||
|
path: /root/.profile
|
||
|
|
||
|
- name: Download vim config from aperture
|
||
|
ansible.builtin.get_url:
|
||
|
dest: ~/.vimrc
|
||
|
url: https://aperture.dismyserver.net/.vimrc
|