Added cron user and job. Added flatpak galaxy repo and a test install.
This commit is contained in:
parent
6ad79ea4c0
commit
07e97df5d8
1
files/sudoers_hyper
Normal file
1
files/sudoers_hyper
Normal file
@ -0,0 +1 @@
|
||||
hyper ALL=(ALL) NOPASSWD: ALL
|
5
requirements.yml
Normal file
5
requirements.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
# Galaxy Repos
|
||||
|
||||
# Flatpak resides here.
|
||||
- community.general
|
6
tasks/cron.yml
Normal file
6
tasks/cron.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: install cron job (ansible-pull)
|
||||
cron:
|
||||
user: hyper
|
||||
name: "Ansible Sync"
|
||||
minute: "*/5"
|
||||
job: "/usr/bin/ansible-pull -o -U https://github.com/Hyperling/ansible.git > /dev/null"
|
13
tasks/packages.yml
Normal file
13
tasks/packages.yml
Normal file
@ -0,0 +1,13 @@
|
||||
- name: Install Repo Software
|
||||
package:
|
||||
name:
|
||||
- htop
|
||||
- neofetch
|
||||
- sshfs
|
||||
update_cache: yes
|
||||
|
||||
- name: Install Flatpaks
|
||||
comunity.general.flatpak
|
||||
state: present
|
||||
name:
|
||||
- com.discordapp.Discord
|
12
tasks/users.yml
Normal file
12
tasks/users.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- name: Create Ansible User
|
||||
user:
|
||||
name: hyper
|
||||
system: yes
|
||||
|
||||
- name: Add Ansible Sudoers File
|
||||
copy:
|
||||
src: sudoers_hyper
|
||||
dest: /etc/sudoers.d/ansible
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0440
|
Loading…
x
Reference in New Issue
Block a user