mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
25
roles/patrix/tasks/install_Debian.yml
Normal file
25
roles/patrix/tasks/install_Debian.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- libwww-perl
|
||||
- liblwp-protocol-https-perl
|
||||
- libconfig-simple-perl
|
||||
- libfile-homedir-perl
|
||||
- libfile-mimeinfo-perl
|
||||
- liburi-perl
|
||||
- libjson-perl
|
||||
- libterm-readkey-perl
|
||||
- libhash-merge-simple-perl
|
||||
tags: patrix
|
||||
|
||||
- name: Install patrix
|
||||
get_url:
|
||||
url: https://raw.githubusercontent.com/dani/patrix/master/scripts/patrix
|
||||
dest: /usr/local/bin/patrix
|
||||
mode: 0755
|
||||
environment:
|
||||
- https_proxy: "{{ system_proxy | default('') }}"
|
||||
tags: patrix
|
||||
|
5
roles/patrix/tasks/install_RedHat.yml
Normal file
5
roles/patrix/tasks/install_RedHat.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
|
||||
- name: Install patrix
|
||||
yum: name=patrix
|
||||
tags: patrix
|
9
roles/patrix/tasks/main.yml
Normal file
9
roles/patrix/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- include: install_{{ ansible_os_family }}.yml
|
||||
|
||||
- name: Deploy patrix config for root user
|
||||
template: src=patrixrc.j2 dest=/root/.patrixrc mode='600'
|
||||
tags: patrix
|
||||
|
||||
...
|
Reference in New Issue
Block a user