-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flip everything to specify ansible.builtin to ensure no community pac…
…kages
- Loading branch information
Showing
32 changed files
with
104 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
localhost ansible_connection=local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
# tasks file for chrome-browser | ||
- name: Check that chrome not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '/usr/bin/google-chrome' | ||
register: chrome | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
ansible.builtin.import_tasks: tasks.yml | ||
when: not chrome.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
--- | ||
- name: Install clamav | ||
package: | ||
ansible.builtin.package: | ||
name: | ||
- clamav | ||
- clamav-daemon | ||
state: present | ||
|
||
- name: Note ClamAV version and sig versions when running updates | ||
become: yes | ||
become_user: '{{ username }}' | ||
lineinfile: | ||
ansible.builtin.lineinfile: | ||
path: '{{ update_script }}' | ||
line: freshclam && clamscan --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
- name: Remove unneeded packages | ||
package: | ||
ansible.builtin.package: | ||
name: | ||
- thunderbird | ||
state: absent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Check that expressvpn not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '{{ user_home }}/.experessvpn_is_installed' | ||
register: expressvpn | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
ansible.builtin.import_tasks: tasks.yml | ||
when: not expressvpn.stat.exists | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Fetch download page | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://vlycgtx.com/latest#linux | ||
dest: /tmp/expressvpn.html | ||
|
||
- name: "Figure out where the latest ExpressVPN .deb is" | ||
shell: cat /tmp/expressvpn.html | sed -rn 's/^.*<option .+ value="(.*)">Ubuntu 64-bit.*$/\1/p' | ||
ansible.builtin.shell: cat /tmp/expressvpn.html | sed -rn 's/^.*<option .+ value="(.*)">Ubuntu 64-bit.*$/\1/p' | ||
register: expressvpn_deb_url | ||
|
||
- name: "Fetch latest ExpressVPN Linux install" | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: "{{ expressvpn_deb_url.stdout }}" | ||
dest: /tmp/expressvpn.deb | ||
|
||
- name: "Install VPN client" | ||
apt: | ||
ansible.builtin.apt: | ||
deb: /tmp/expressvpn.deb | ||
|
||
- name: Mark installed | ||
file: | ||
ansible.builtin.file: | ||
path: '{{ user_home }}/.experessvpn_is_installed' | ||
state: touch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
# tasks file for firefox | ||
- name: Ensure policy directory exists | ||
file: | ||
ansible.builtin.file: | ||
path: /etc/firefox/policies | ||
state: directory | ||
|
||
- name: Setup default preferences | ||
copy: | ||
ansible.builtin.copy: | ||
src: policies.json | ||
dest: /etc/firefox/policies/policies.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
dependencies: | ||
- role: snapd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
--- | ||
# tasks file for gcloud | ||
- name: Install gcloud | ||
snap: | ||
name: google-cloud-sdk | ||
classic: yes | ||
when: in_container is not defined | ||
ansible.builtin.command: snap install google-cloud-sdk --classic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: Check that lastpass not already installed | ||
stat: | ||
ansible.builtin.stat: | ||
path: '{{ user_home }}/.lastpass_is_installed' | ||
register: lastpass | ||
|
||
- include: tasks.yml | ||
- name: Run Playbook | ||
import_tasks: tasks.yml | ||
when: not lastpass.stat.exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
--- | ||
# tasks file for lastpass | ||
- name: "Fetch latest LastPass Linux install" | ||
get_url: | ||
- name: Fetch latest LastPass Linux install | ||
ansible.builtin.get_url: | ||
url: https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 | ||
dest: /tmp/lplinux.tar.bz2 | ||
|
||
- name: Create LastPass extract dir | ||
file: | ||
ansible.builtin.file: | ||
path: /tmp/lplinux | ||
state: directory | ||
|
||
- name: Decompress LastPass archive | ||
unarchive: | ||
ansible.builtin.unarchive: | ||
src: /tmp/lplinux.tar.bz2 | ||
dest: /tmp/lplinux | ||
|
||
- name: Install LastPass plugins | ||
command: ./install_lastpass.sh | ||
ansible.builtin.command: ./install_lastpass.sh | ||
args: | ||
chdir: /tmp/lplinux | ||
|
||
- name: Mark installed | ||
file: | ||
ansible.builtin.file: | ||
path: '{{ user_home }}/.lastpass_is_installed' | ||
state: touch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Setup OBS Repository | ||
ansible.builtin.apt_repository: | ||
repo: ppa:obsproject/obs-studio | ||
|
||
- name: Install OBS | ||
ansible.builtin.package: | ||
name: | ||
- obs-studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.