wip
This commit is contained in:
@@ -76,21 +76,12 @@ hosts_cloudinit_config:
|
||||
ssh_svcname: sshd
|
||||
|
||||
# enable cloud-init
|
||||
hosts_enable_cloudinit: false
|
||||
|
||||
# enable rc.local script
|
||||
hosts_enable_local: false
|
||||
|
||||
# run user specific rc functions on ssh connection
|
||||
hosts_enable_rc: false
|
||||
|
||||
# Activate zram swap devices on host
|
||||
hosts_enable_zram: false
|
||||
hosts_cloudinit_enable: false
|
||||
|
||||
# git repositories to clone
|
||||
hosts_git_repositories: []
|
||||
|
||||
# packages to install
|
||||
# packages to install/remove
|
||||
hosts_packages: []
|
||||
|
||||
# packages common to all distributions
|
||||
@@ -111,17 +102,12 @@ hosts_packages_common:
|
||||
# packages specific to a distribution
|
||||
hosts_packages_distro: []
|
||||
|
||||
# list of rc functions to cleanup (remove files)
|
||||
hosts_rc_cleanup: []
|
||||
# services to enable/disable
|
||||
hosts_services:
|
||||
- { "name": "ansible", "state": "stopped", "enabled": "no" }
|
||||
- { "name": "zram", "state": "stopped", "enabled": "no" }
|
||||
|
||||
# list of rc functions to call at user connection
|
||||
hosts_rc_functions:
|
||||
- 10_prompt_set
|
||||
- 10_ps1_set
|
||||
- 30_pfetch
|
||||
- 40_ssh_add
|
||||
|
||||
# a list of urls to get public keys to add to ~/.ssh/authorized_keys
|
||||
# list of urls to get public keys to add to ~/.ssh/authorized_keys
|
||||
hosts_ssh_authorized_keys: "{{ lookup('env','ANSIBLE_SSH_AUTHORIZED_KEYS').split(' ') }}"
|
||||
|
||||
# hostname of myos-bastion to add in ~/.ssh/myos/config
|
||||
@@ -133,14 +119,25 @@ hosts_ssh_bastion_username: "{{ lookup('env','ANSIBLE_SSH_BASTION_USERNAME') or
|
||||
# ip range proxyfied through myos-bastion to add in ~/.ssh/myos/config
|
||||
hosts_ssh_private_ip_range: "{{ lookup('env','ANSIBLE_SSH_PRIVATE_IP_RANGE') }}"
|
||||
|
||||
# a list of SSH private keys to copy
|
||||
# list of SSH private keys to copy
|
||||
hosts_ssh_private_keys: "{{ lookup('env','ANSIBLE_SSH_PRIVATE_KEYS').split(' ') }}"
|
||||
|
||||
# a list of public hosts to add to known_hosts
|
||||
# list of public hosts to add to known_hosts
|
||||
hosts_ssh_public_hosts: "{{ lookup('env','ANSIBLE_SSH_PUBLIC_HOSTS').split(' ') }}"
|
||||
|
||||
# remote ssh user
|
||||
hosts_ssh_username: "{{ lookup('env','ANSIBLE_SSH_USERNAME') or ansible_user }}"
|
||||
|
||||
# a list of environment variables to write to user ~/.env
|
||||
# list of environment variables to write to user ~/.env
|
||||
hosts_user_env: []
|
||||
|
||||
# run specific functions on user login
|
||||
hosts_user_rc_enable: false
|
||||
|
||||
# list of rc functions to call at user connection
|
||||
hosts_user_rc_functions:
|
||||
- { "path": "10_prompt_set", "state": "touch" }
|
||||
- { "path": "10_ps1_set", "state": "touch" }
|
||||
- { "path": "30_pfetch", "state": "touch" }
|
||||
- { "path": "40_ssh_add", "state": "touch" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user