Compare commits
79 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
7be79d05e9 | 10 hours ago |
|
|
ccaaf4b7fe | 11 hours ago |
|
|
073fc48afc | 11 hours ago |
|
|
e0de4d3b8e | 1 day ago |
|
|
64a581b2ac | 1 day ago |
|
|
823d1d8b47 | 1 day ago |
|
|
9b46882478 | 1 day ago |
|
|
b105877f4d | 1 day ago |
|
|
fb9efb24ca | 2 days ago |
|
|
9ce6a43329 | 2 days ago |
|
|
4af6a75278 | 2 days ago |
|
|
be3d496110 | 2 days ago |
|
|
699a8ebfb5 | 5 days ago |
|
|
abb77e77e1 | 7 days ago |
|
|
19938ec05a | 7 days ago |
|
|
8e6a93dd0f | 7 days ago |
|
|
682faf85fc | 7 days ago |
|
|
83b6cdb616 | 7 days ago |
|
|
f191f050bf | 7 days ago |
|
|
f556ec12b1 | 1 week ago |
|
|
a208daa461 | 1 week ago |
|
|
14e8334705 | 1 week ago |
|
|
1fe55f1c67 | 1 week ago |
|
|
e0103eb66c | 1 week ago |
|
|
e044893a88 | 1 week ago |
|
|
1cbd1777bc | 1 week ago |
|
|
0bafbd501c | 1 week ago |
|
|
f0a83168bf | 1 week ago |
|
|
15b2619fb2 | 1 week ago |
|
|
5c9abeda94 | 1 week ago |
|
|
006d497c25 | 1 week ago |
|
|
9609437262 | 1 week ago |
|
|
7eabcc61c1 | 1 week ago |
|
|
017de4c8e1 | 1 week ago |
|
|
7996a03a37 | 1 week ago |
|
|
5b6b076c4e | 1 week ago |
|
|
4ecafc564d | 1 week ago |
|
|
56dce28906 | 1 week ago |
|
|
ff973775ce | 1 week ago |
|
|
5ffdbb5999 | 1 week ago |
|
|
01e24f9ddf | 1 week ago |
|
|
22e7046cf6 | 1 week ago |
|
|
cc8a39864d | 1 week ago |
|
|
40fbfe58fc | 1 week ago |
|
|
b353980699 | 1 week ago |
|
|
3fe9b9bd87 | 1 week ago |
|
|
cfbb7f884e | 1 week ago |
|
|
a1b5d4941e | 1 week ago |
|
|
e32c90a63e | 1 week ago |
|
|
a143787c02 | 1 week ago |
|
|
bcc726d3b7 | 1 week ago |
|
|
780f8af1a4 | 1 week ago |
|
|
d1c4217db0 | 1 week ago |
|
|
09b972e96e | 1 week ago |
|
|
509c572682 | 2 weeks ago |
|
|
c9eb6e54e2 | 2 weeks ago |
|
|
4a442f503e | 2 weeks ago |
|
|
e52132c89b | 2 weeks ago |
|
|
f966b3e5c6 | 2 weeks ago |
|
|
7c9c38325d | 2 weeks ago |
|
|
5da56f577c | 2 weeks ago |
|
|
734047e1cc | 2 weeks ago |
|
|
8b29846990 | 2 weeks ago |
|
|
61a7fa1fee | 2 weeks ago |
|
|
28ea4780db | 2 weeks ago |
|
|
36f7cee2d1 | 2 weeks ago |
|
|
9a2e600317 | 2 weeks ago |
|
|
2cc507a6de | 2 weeks ago |
|
|
db63dd1def | 3 weeks ago |
|
|
cab024a6fc | 3 weeks ago |
|
|
aea028f175 | 3 weeks ago |
|
|
df890459c5 | 3 weeks ago |
|
|
847f34c17d | 3 weeks ago |
|
|
83c5ab1900 | 4 weeks ago |
|
|
3b7a75dfaf | 4 weeks ago |
|
|
191abd492a | 4 weeks ago |
|
|
408946adbe | 4 weeks ago |
|
|
fdb5c62532 | 4 weeks ago |
|
|
e4e82f53a1 | 4 weeks ago |
@ -1,33 +0,0 @@
|
||||
---
|
||||
name: Mitogen 0.2.x bug report
|
||||
about: Report a bug in Mitogen 0.2.x (for Ansible 2.5, 2.6, 2.7, 2.8, or 2.9)
|
||||
title: ''
|
||||
labels: affects-0.2, bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Please drag-drop large logs as text file attachments.
|
||||
|
||||
Feel free to write an issue in your preferred format, however if in doubt, use
|
||||
the following checklist as a guide for what to include.
|
||||
|
||||
* Which version of Ansible are you running?
|
||||
* Is your version of Ansible patched in any way?
|
||||
* Are you running with any custom modules, or `module_utils` loaded?
|
||||
|
||||
* Have you tried the latest master version from Git?
|
||||
* Do you have some idea of what the underlying problem may be?
|
||||
https://mitogen.networkgenomics.com/ansible_detailed.html#common-problems has
|
||||
instructions to help figure out the likely cause and how to gather relevant
|
||||
logs.
|
||||
* Mention your host and target OS and versions
|
||||
* Mention your host and target Python versions
|
||||
* If reporting a performance issue, mention the number of targets and a rough
|
||||
description of your workload (lots of copies, lots of tiny file edits, etc.)
|
||||
* If reporting a crash or hang in Ansible, please rerun with -vvv and include
|
||||
200 lines of output around the point of the error, along with a full copy of
|
||||
any traceback or error text in the log. Beware "-vvv" may include secret
|
||||
data! Edit as necessary before posting.
|
||||
* If reporting any kind of problem with Ansible, please include the Ansible
|
||||
version along with output of "ansible-config dump --only-changed".
|
||||
@ -1,33 +0,0 @@
|
||||
---
|
||||
name: Mitogen 0.3.x bug report
|
||||
about: Report a bug in Mitogen 0.3.x (for Ansible 2.10.x)
|
||||
title: ''
|
||||
labels: affects-0.3, bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Please drag-drop large logs as text file attachments.
|
||||
|
||||
Feel free to write an issue in your preferred format, however if in doubt, use
|
||||
the following checklist as a guide for what to include.
|
||||
|
||||
* Which version of Ansible are you running?
|
||||
* Is your version of Ansible patched in any way?
|
||||
* Are you running with any custom modules, or `module_utils` loaded?
|
||||
|
||||
* Have you tried the latest master version from Git?
|
||||
* Do you have some idea of what the underlying problem may be?
|
||||
https://mitogen.networkgenomics.com/ansible_detailed.html#common-problems has
|
||||
instructions to help figure out the likely cause and how to gather relevant
|
||||
logs.
|
||||
* Mention your host and target OS and versions
|
||||
* Mention your host and target Python versions
|
||||
* If reporting a performance issue, mention the number of targets and a rough
|
||||
description of your workload (lots of copies, lots of tiny file edits, etc.)
|
||||
* If reporting a crash or hang in Ansible, please rerun with -vvv and include
|
||||
200 lines of output around the point of the error, along with a full copy of
|
||||
any traceback or error text in the log. Beware "-vvv" may include secret
|
||||
data! Edit as necessary before posting.
|
||||
* If reporting any kind of problem with Ansible, please include the Ansible
|
||||
version along with output of "ansible-config dump --only-changed".
|
||||
@ -0,0 +1,62 @@
|
||||
name: Bug report
|
||||
description: Report a bug in Mitogen 0.3.x (for Ansible 2.10 and above)
|
||||
labels:
|
||||
- affects-0.3
|
||||
type: bug
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Description
|
||||
description: >
|
||||
When does the problem occur?
|
||||
What happens after?
|
||||
How is this different?
|
||||
Did it previously behave as expected?
|
||||
placeholder: |
|
||||
When I do X, Y happens, but I was expecting Z because ...
|
||||
Before version 1.2.3 it worked as expected.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Mitogen version
|
||||
placeholder: 0.3.31, 0.3.3-9+deb12u1
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Ansible version (if applicable)
|
||||
placeholder: 2.18.11
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: OS and environment
|
||||
description: >
|
||||
What operating system version(s), Python version(s), etc. are you using?
|
||||
placeholder: |
|
||||
Controller (master): Debian 13, Python 3.14
|
||||
Targets (slaves): Ubuntu 20.04/Python 2.7, RHEL 10, ...
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: >
|
||||
Instructions, code, or playbook(s) recreate the beahviour
|
||||
value: |
|
||||
Steps:
|
||||
1. Set config `foo = 42` in somefile.cfg
|
||||
2. Run the following Python or Playbook with `cmd --option bar ...`
|
||||
|
||||
```
|
||||
Code or playbook here
|
||||
```
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Anything else
|
||||
description: >
|
||||
Include any other details you think might be relevant or helpful.
|
||||
Examples might include logs, unusual settings, environment variables, ...
|
||||
@ -1,10 +0,0 @@
|
||||
path_classifiers:
|
||||
library:
|
||||
- "mitogen/compat"
|
||||
- "ansible_mitogen/compat"
|
||||
queries:
|
||||
# Mitogen 2.4 compatibility trips this query everywhere, so just disable it
|
||||
- exclude: py/unreachable-statement
|
||||
- exclude: py/should-use-with
|
||||
# mitogen.core.b() trips this query everywhere, so just disable it
|
||||
- exclude: py/import-and-import-from
|
||||
@ -0,0 +1,8 @@
|
||||
pkg_mgr_python_interpreter: python3
|
||||
|
||||
# Alma Linux 9, RHEL 9, etc. lack a virtualenv package
|
||||
virtualenv_create_argv:
|
||||
- "{{ virtualenv_python }}"
|
||||
- -m
|
||||
- venv
|
||||
- "{{ virtualenv_path }}"
|
||||
@ -0,0 +1,2 @@
|
||||
become_doas_available: true
|
||||
pkg_mgr_python_interpreter: python3
|
||||
@ -1,4 +1,6 @@
|
||||
package_manager_repos:
|
||||
- dest: /etc/apt/sources.list
|
||||
content: |
|
||||
deb http://archive.debian.org/debian stretch main contrib non-free
|
||||
deb http://archive.debian.org/debian/ stretch main contrib non-free
|
||||
deb http://archive.debian.org/debian/ stretch-proposed-updates main contrib non-free
|
||||
deb http://archive.debian.org/debian-security stretch/updates main contrib non-free
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
become_doas_available: true
|
||||
pkg_mgr_python_interpreter: python3
|
||||
@ -0,0 +1,2 @@
|
||||
become_doas_available: true
|
||||
pkg_mgr_python_interpreter: python3
|
||||
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
- name: Setup container host
|
||||
hosts: localhost
|
||||
become: true
|
||||
roles:
|
||||
- role: container_host
|
||||
@ -1,12 +1,17 @@
|
||||
|
||||
[defaults]
|
||||
any_errors_fatal = true
|
||||
# Ansible >= 6 (ansible-core >= 2.13)
|
||||
callback_result_format = yaml
|
||||
deprecation_warnings = false
|
||||
duplicate_dict_key = error
|
||||
inventory = hosts.ini
|
||||
strategy_plugins = ../../ansible_mitogen/plugins/strategy
|
||||
retry_files_enabled = false
|
||||
display_args_to_stdout = True
|
||||
no_target_syslog = True
|
||||
host_key_checking = False
|
||||
stdout_callback = yaml
|
||||
|
||||
[inventory]
|
||||
unparsed_is_fatal = true
|
||||
any_unparsed_is_failed = true
|
||||
host_pattern_mismatch = error
|
||||
unparsed_is_failed = true
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
DefaultRuntimeDir ${XDG_RUNTIME_DIR}
|
||||
PidFile ${XDG_RUNTIME_DIR}/apache2.pid
|
||||
|
||||
LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
|
||||
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
|
||||
LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
|
||||
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
|
||||
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
|
||||
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
|
||||
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
|
||||
|
||||
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
|
||||
|
||||
KeepAlive On
|
||||
Listen 8090
|
||||
|
||||
<Directory />
|
||||
Require all denied
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
<VirtualHost *:8090>
|
||||
ServerName centos-vault-proxy
|
||||
SSLProxyEngine On
|
||||
CustomLog logs/access.log vhost_combined
|
||||
ProxyPass "/" "https://vault.centos.org/"
|
||||
ProxyPassReverse "https://vault.centos.org/" "/"
|
||||
RedirectMatch "^/(.*)" "http://centos-vault-proxy:8090/$1"
|
||||
</VirtualHost>
|
||||
|
||||
# /usr/sbin/apache2 -d . -f apache_proxy.conf -D FOREGROUND
|
||||
|
||||
# vim: syntax=apache
|
||||
@ -1,16 +1,18 @@
|
||||
ansible_version_major_minor: "{{ ansible_version.major }}.{{ ansible_version.minor }}"
|
||||
|
||||
common_packages:
|
||||
- acl
|
||||
- openssh-server
|
||||
- rsync
|
||||
- strace
|
||||
- sudo
|
||||
|
||||
container_image_name: "{{ container_registry }}/{{ inventory_hostname }}-test"
|
||||
container_registry: public.ecr.aws/n5z0e8q9
|
||||
container_registry: ghcr.io/mitogen-hq
|
||||
|
||||
sudo_group:
|
||||
MacOSX: admin
|
||||
Debian: sudo
|
||||
Ubuntu: sudo
|
||||
CentOS: wheel
|
||||
AlmaLinux: wheel
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
bootstrap_packages: [python3]
|
||||
docker_base: almalinux:9
|
||||
|
||||
packages:
|
||||
- perl-JSON
|
||||
- procps-ng
|
||||
@ -1,6 +1,36 @@
|
||||
bootstrap_packages: [python-simplejson]
|
||||
|
||||
docker_base: astj/centos5-vault
|
||||
docker_base: centos:5
|
||||
|
||||
packages:
|
||||
- perl
|
||||
package_manager_repos:
|
||||
- dest: /etc/yum.repos.d/CentOS-Base.repo
|
||||
content: |
|
||||
[base]
|
||||
name=CentOS-$releasever - Base
|
||||
baseurl=http://centos-vault-proxy:8090/5.11/os/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
|
||||
|
||||
[updates]
|
||||
name=CentOS-$releasever - Updates
|
||||
baseurl=http://centos-vault-proxy:8090/5.11/updates/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
|
||||
|
||||
[extras]
|
||||
name=CentOS-$releasever - Extras
|
||||
baseurl=http://centos-vault-proxy:8090/5.11/extras/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
|
||||
|
||||
- dest: /etc/yum.repos.d/libselinux.repo
|
||||
content: |
|
||||
[libselinux]
|
||||
name=CentOS-$releasever - libselinux
|
||||
baseurl=http://centos-vault-proxy:8090/5.11/centosplus/$basearch/
|
||||
gpgcheck=1
|
||||
enabled=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
|
||||
includepkgs=libselinux*
|
||||
|
||||
@ -1,6 +1,27 @@
|
||||
bootstrap_packages: [python]
|
||||
|
||||
docker_base: moreati/centos6-vault
|
||||
docker_base: centos:6
|
||||
|
||||
packages:
|
||||
- perl-JSON
|
||||
|
||||
package_manager_repos:
|
||||
- dest: /etc/yum.repos.d/CentOS-Base.repo
|
||||
content: |
|
||||
[base]
|
||||
name=CentOS-$releasever - Base
|
||||
baseurl=http://vault.centos.org/6.10/os/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
||||
|
||||
[updates]
|
||||
name=CentOS-$releasever - Updates
|
||||
baseurl=http://vault.centos.org/6.10/updates/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
||||
|
||||
[extras]
|
||||
name=CentOS-$releasever - Extras
|
||||
baseurl=http://vault.centos.org/6.10/extras/$basearch/
|
||||
gpgcheck=1
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
||||
|
||||
@ -1,11 +1,18 @@
|
||||
bootstrap_packages: [python3, python3-apt]
|
||||
|
||||
docker_base: debian:bullseye
|
||||
docker_base: debian:11
|
||||
|
||||
packages:
|
||||
- doas
|
||||
- libjson-perl
|
||||
- locales
|
||||
- python-is-python3
|
||||
- python2
|
||||
- python3-virtualenv
|
||||
- virtualenv
|
||||
|
||||
package_manager_keys:
|
||||
- src: debian-archive-bullseye-automatic.gpg # Debian 11
|
||||
dest: /etc/apt/trusted.gpg.d/
|
||||
- src: debian-archive-bookworm-automatic.gpg # Debian 12
|
||||
dest: /etc/apt/trusted.gpg.d/
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
bootstrap_packages: [python3, python3-apt]
|
||||
docker_base: debian:12
|
||||
|
||||
packages:
|
||||
- libjson-perl
|
||||
- locales
|
||||
- opendoas
|
||||
- virtualenv
|
||||
@ -0,0 +1,10 @@
|
||||
bootstrap_packages: [python3, python3-apt]
|
||||
docker_base: ubuntu:22.04
|
||||
|
||||
packages:
|
||||
- doas
|
||||
- libjson-perl
|
||||
- locales
|
||||
- python2
|
||||
- python3-virtualenv
|
||||
- virtualenv
|
||||
@ -0,0 +1,9 @@
|
||||
bootstrap_packages: [python3, python3-apt]
|
||||
docker_base: ubuntu:24.04
|
||||
|
||||
packages:
|
||||
- libjson-perl
|
||||
- locales
|
||||
- opendoas
|
||||
- python3-virtualenv
|
||||
- virtualenv
|
||||
@ -0,0 +1,2 @@
|
||||
bootstrap_packages: []
|
||||
package_manager_repos: []
|
||||
@ -0,0 +1,3 @@
|
||||
- name: Bootstrap
|
||||
raw: "{{ lookup('template', 'bootstrap.sh.j2') }}"
|
||||
changed_when: true
|
||||
@ -0,0 +1,21 @@
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
|
||||
{% for item in package_manager_repos %}
|
||||
cat << "EOF" > "{{ item.dest }}"
|
||||
{{ item.content }}
|
||||
EOF
|
||||
{% endfor %}
|
||||
|
||||
{% if bootstrap_packages %}
|
||||
if command -v apt-get; then
|
||||
apt-get -y update
|
||||
apt-get -y --no-install-recommends install {{ bootstrap_packages | join(' ') }}
|
||||
elif command -v dnf; then
|
||||
dnf -y install {{ bootstrap_packages | join(' ') }}
|
||||
elif command -v yum; then
|
||||
yum -y install {{ bootstrap_packages | join(' ') }}
|
||||
else
|
||||
exit 42
|
||||
fi
|
||||
{% endif %}
|
||||
@ -0,0 +1,6 @@
|
||||
- name: Update GRUB
|
||||
command: update-grub
|
||||
changed_when: true
|
||||
|
||||
- name: Reboot
|
||||
reboot:
|
||||
@ -0,0 +1,27 @@
|
||||
# > If running `docker run --rm -it centos:centos6.7 bash` immediately exits
|
||||
# > with status code 139, check to see if your system has disabled vsyscall:
|
||||
# > ...
|
||||
# > If you do not see a vsyscall mapping, and you need to run a CentOS 6
|
||||
# > container, try adding vsyscall=emulated to the kernel options.
|
||||
# > -- https://hub.docker.com/_/centos
|
||||
|
||||
- name: Check vsyscall enabled
|
||||
command:
|
||||
cmd: grep -c vsyscall /proc/self/maps
|
||||
register: grep_self_maps_result
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
failed_when:
|
||||
# 0 -> match, 1 -> no match, 2 -> error
|
||||
- grep_self_maps_result.rc not in [0, 1]
|
||||
|
||||
- name: Enable vsyscall
|
||||
lineinfile:
|
||||
path: /etc/default/grub
|
||||
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT.+'
|
||||
line: GRUB_CMDLINE_LINUX_DEFAULT="quiet vsyscall=emulate"
|
||||
when:
|
||||
- grep_self_maps_result.rc != 0
|
||||
notify:
|
||||
- Update GRUB
|
||||
- Reboot
|
||||
@ -0,0 +1,14 @@
|
||||
common_packages: []
|
||||
packages: []
|
||||
|
||||
packages_clean_command:
|
||||
apt: apt-get clean
|
||||
dnf: dnf clean all
|
||||
yum: yum clean all
|
||||
|
||||
packages_cleanup_directories:
|
||||
apt:
|
||||
- /var/cache/apt
|
||||
- /var/lib/apt/lists
|
||||
dnf: []
|
||||
yum: []
|
||||
@ -0,0 +1,35 @@
|
||||
- name: Ensure requisite apt packages are installed
|
||||
apt:
|
||||
name: "{{ common_packages + packages }}"
|
||||
state: present
|
||||
install_recommends: false
|
||||
update_cache: true
|
||||
when:
|
||||
- ansible_pkg_mgr == 'apt'
|
||||
|
||||
- name: Ensure requisite yum packages are installed
|
||||
yum:
|
||||
name: "{{ common_packages + packages }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
|
||||
- name: Ensure requisite dnf packages are installed
|
||||
dnf:
|
||||
name: "{{ common_packages + packages }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
when:
|
||||
- ansible_pkg_mgr == 'dnf'
|
||||
|
||||
- name: Clean up package cache
|
||||
command:
|
||||
cmd: "{{ packages_clean_command[ansible_pkg_mgr] }}"
|
||||
changed_when: true
|
||||
|
||||
- name: Clean up package directories
|
||||
shell:
|
||||
rm -rf {{ item }}/*
|
||||
with_items: "{{ packages_cleanup_directories }}"
|
||||
changed_when: true
|
||||
@ -1,2 +1,4 @@
|
||||
- name: Restart sshd
|
||||
meta: noop
|
||||
command: "true"
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
|
||||
@ -1,6 +1,17 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
|
||||
- include_playbook: _container_create.yml
|
||||
- include_playbook: _container_setup.yml
|
||||
- include_playbook: _user_accounts.yml
|
||||
- include_playbook: _container_finalize.yml
|
||||
- name: Get base images
|
||||
hosts: all
|
||||
# strategy: mitogen_free
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Fetch container base images
|
||||
docker_image:
|
||||
name: "{{ docker_base }}"
|
||||
source: pull # Added in Ansible 2.8, required circa 2.12
|
||||
delegate_to: localhost
|
||||
|
||||
- import_playbook: _container_create.yml
|
||||
- import_playbook: _container_setup.yml
|
||||
- import_playbook: _user_accounts.yml
|
||||
- import_playbook: _container_finalize.yml
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
|
||||
- name: Get base images
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Fetch container base images
|
||||
docker_image:
|
||||
name: "{{ docker_base }}"
|
||||
delegate_to: localhost
|
||||
|
||||
- include: _container_create.yml
|
||||
- include: _container_setup.yml
|
||||
- include: _user_accounts.yml
|
||||
- include: _container_finalize.yml
|
||||
Loading…
Reference in New Issue