This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://pulp.plan.io/issues/5766 closes #5766
- Loading branch information
Showing
10 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ansible-lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../scenario_resources/Dockerfile.j2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../scenario_resources/debian-redis-server.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
pulp_default_admin_password: password | ||
pulp_roles: | ||
- pulp-database | ||
- pulp-workers | ||
- pulp-resource-manager | ||
- pulp-webserver | ||
- pulp-content | ||
pulp_install_plugins: | ||
pulp-file: {} | ||
pulp_settings: | ||
secret_key: secret | ||
content_origin: "http://{{ ansible_fqdn }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
dependency: | ||
name: galaxy | ||
role-file: requirements.yml | ||
driver: | ||
name: docker | ||
lint: | ||
name: yamllint | ||
# This is ignored by molecule, but can be reused in yaml | ||
.platform_base: &platform_base | ||
privileged: False | ||
volumes: | ||
- /sys/fs/cgroup:/sys/fs/cgroup:ro | ||
tmpfs: | ||
- /tmp | ||
- /run | ||
- /run/lock | ||
capabilities: | ||
- NET_ADMIN | ||
- NET_RAW | ||
platforms: | ||
- <<: *platform_base | ||
name: centos-7 | ||
image: centos:7 | ||
command: /sbin/init | ||
- <<: *platform_base | ||
name: debian-10 | ||
image: debian:buster | ||
command: /sbin/init | ||
- <<: *platform_base | ||
name: fedora-31 | ||
image: fedora:31 | ||
command: /usr/sbin/init | ||
provisioner: | ||
name: ansible | ||
inventory: | ||
links: | ||
host_vars: ../scenario_resources/host_vars/ | ||
group_vars: ../scenario_resources/group_vars/ | ||
lint: | ||
name: ansible-lint | ||
scenario: | ||
name: dynamic | ||
verifier: | ||
name: inspec | ||
lint: | ||
name: rubocop | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- hosts: all | ||
pre_tasks: | ||
# The version string below is the highest of all those in roles' metadata: | ||
# "min_ansible_version". It needs to be kept manually up-to-date. | ||
- name: Verify Ansible meets min required version | ||
assert: | ||
that: "ansible_version.full is version_compare('2.8', '>=')" | ||
msg: > | ||
"You must update Ansible to at least 2.8 to use this version of Pulp 3 Installer." | ||
- name: Dynamically include prereq roles | ||
include_role: | ||
public: yes | ||
name: "{{ roleinputvar }}" | ||
loop: "{{ pulp_roles }}" | ||
loop_control: | ||
loop_var: roleinputvar | ||
environment: | ||
DJANGO_SETTINGS_MODULE: pulpcore.app.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
- hosts: all | ||
tasks: | ||
- name: Hot patch redis-server service for docker operation (Debian) | ||
copy: | ||
src: debian-redis-server.service | ||
dest: /etc/systemd/system/redis-server.service | ||
when: ansible_distribution == "Debian" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../requirements.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../roles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters