General FreeBSD and account improvements.
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
---
|
||||
# Jobs relating to the ansible user.
|
||||
|
||||
- name: General | Cron | Ansible | Create Main Job
|
||||
- name: General | Cron | Ansible | Create Subscriber Job
|
||||
cron:
|
||||
user: ansible
|
||||
name: "Ansible Sync"
|
||||
minute: "*/15"
|
||||
job: "{{ ansible_pull_exec }} -o -U https://github.com/Hyperling/ansible.git"
|
||||
job: "sudo {{ ansible_pull_exec }} -o -U https://github.com/Hyperling/ansible.git"
|
||||
state: present
|
||||
disabled: no
|
||||
|
12
tasks/general/cron/root.yml
Normal file
12
tasks/general/cron/root.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
# Jobs relating to the root user.
|
||||
|
||||
- name: General | Cron | Root | Create SSHFS Job
|
||||
cron:
|
||||
user: root
|
||||
name: "1337 SSHFS"
|
||||
special_time: reboot
|
||||
job: "{{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: ansible_system == "FreeBSD"
|
Reference in New Issue
Block a user