Skip to content
Snippets Groups Projects
Commit 0aabeb45 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting scripts [skip-ci]

parent 4cbb8d92
No related branches found
No related tags found
No related merge requests found
Pipeline #9490 skipped
Showing
with 57 additions and 17 deletions
---
description: Configure FluentD / td-agent Client
arguments:
playbook: role
......
---
description: Configure FluentD / td-agent
arguments:
playbook: role
......
---
description: Quickly update blacklists for HaProxy
cli:
defaults:
......
---
description: Build SSL Certs for HaProxy
cli:
defaults:
......
---
description: Quickly configure HaProxy
cli:
defaults:
......
---
description: Locally update host information for all inventories
arguments:
playbook: hosts
......
---
description: Initially setup a new host
cli:
arguments:
......@@ -39,7 +41,7 @@ cli:
help: The ip address of the host, only required if not installed in the cloud
arguments:
playbook: inithost
no_gui: True
no_gui: yes
command:
- name: extra-vars
value: host=%s inituser=%s firstuser=%s
......@@ -74,14 +76,14 @@ command:
- key
- name: ask-pass
condition: key
negate: True
negate: yes
- name: extra-vars
condition: key
negate: True
negate: yes
value: initauth="-o PasswordAuthentication=yes -o PubkeyAuthentication=no"
environment:
ANSIBLE_SSH_ARGS: -o IdentitiesOnly=yes -o ControlMaster=no -o ControlPersist=60s
ANSIBLE_SSH_PIPELINING: False
ANSIBLE_SSH_PIPELINING: no
follower:
- script: sanity
arguments:
......
---
description: Initially setup a new Raspberry Pi
cli:
arguments:
......@@ -19,7 +21,7 @@ cli:
help: File name with the private key to be used initially
arguments:
playbook: firstuser
no_gui: True
no_gui: yes
command:
- name: extra-vars
value: host=%s inituser=%s firstuser=%s
......@@ -32,7 +34,7 @@ command:
value: initauth="-o PasswordAuthentication=yes -o PubkeyAuthentication=no"
environment:
ANSIBLE_SSH_ARGS: -o IdentitiesOnly=yes -o ControlMaster=no -o ControlPersist=60s
ANSIBLE_SSH_PIPELINING: False
ANSIBLE_SSH_PIPELINING: no
follower:
- script: role
arguments:
......
---
description: Force updating all Jails
cli:
options:
site:
default: False
default: no
help: The id of a site if only one of the defined sites should be updated
defaults:
limit: webserver_drupal
......
---
description: Update OS components in all Jails
cli:
defaults:
......
---
description: Init and update users in Jails
cli:
options:
site:
default: False
default: no
help: The id of a site if only one of the defined sites should be updated
defaults:
limit: webserver_drupal
......
---
description: Lists hosts and IP addresses
cli:
options:
ip:
default: False
default: no
help: An optional IP to limit the assertion to that single IP
arguments:
playbook: list
......
---
description: Update local hosts file and SSH config, then call script hosts
inventory-given-by-script: True
inventory-given-by-script: yes
cli:
options:
host:
......@@ -14,7 +16,7 @@ cli:
result = os.environ['USER']
arguments:
playbook: role
no_gui: True
no_gui: yes
company: local
command:
- name: extra-vars
......@@ -23,6 +25,6 @@ command:
- host
- user
environment:
ANSIBLE_LOCAL_LIMITED: True
ANSIBLE_LOCAL_LIMITED: yes
follower:
- hosts
---
description: Update Logrotate Configuration
arguments:
playbook: farm
......
---
description: Quickly update matomo sites
cli:
options:
reset:
action: store_true
default: False
default: no
help: If True the existing directories get deleted first
site:
default: False
default: no
help: The id of a site if matomo should be updated only for one of the defined sites
defaults:
limit: matomoserver:piwikserver
......
description: MySQL Slave: Skip counter by 1
---
description: MySQL Slave - Skip counter by 1
cli:
defaults:
limit: dbserver_mysql-slave
......
---
description: Quickly update NetData
cli:
options:
reset:
action: store_true
default: False
default: no
help: If True the existing directories get deleted first
defaults:
limit: all
......
---
description: Configure Network and Firewall
arguments:
playbook: role
......
---
description: Install a new NextCloud site
cli:
arguments:
......
---
description: Quickly update NextCloud plugins
cli:
options:
site:
default: False
default: no
help: The id of a site if plugins should be updated only for one of the defined sites
defaults:
limit: webserver_nextcloud
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment