Installs base utilities and performs common configuration the Flight Deck set of containers.
- None.
Available variables are listed below, along with default values (see defaults/main.yml
).
flightdeck_groups
Specifies the groups to create.
flightdeck_groups:
- name: "flighdeck"
- name: "green"
gid: 999
- name: "purple"
system: true
flightdeck_users
Specifies the users to create. The format is similar to socketwench.users-and-groups.
Groups must first be created using flightdeck_groups
.
flightdeck_users:
- name: "flighdeck"
group: "flightdeck"
home: "/home/flightdeck"
flightdeck_root_prompt
and flightdeck_user_prompt
Allows you to change the default command line prompt for root, and for all other users.
flightdeck_base_packages
Specifies a list of Alpine Linux packages to install. If not provided, bash
will be installed.
flightdeck_run_commands
By default, this role will create an entrypoint script, /usr/local/bin/docker-entrypoint.sh
for use by Docker. You can add further commands by specifying them in this variable:
flightdeck_run_commands: |
ansible-playbook -i /ansible/inventories/all.ini /ansible/run.yml
None.
Add the role to a playbook which is run during a docker build
.
- hosts: docker
roles:
- role: ten7.flightdeck_base
GPL v3
This role was created by TEN7.