Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4740c48
Updating paths in meta roles.
gregharvey Nov 10, 2023
41f1e5b
Excluding wazuh role from linting.
gregharvey Nov 10, 2023
fb4cf5f
Removing exclusion from CI because it's in .ansible-lint.
gregharvey Nov 10, 2023
26c9408
Adding debian readme to complete sidebar in docs.
gregharvey Nov 10, 2023
a9a3c59
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
1be52fe
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
b6ebf17
Being more generic with Python version for venv to avoid Debian versi…
gregharvey Nov 10, 2023
ba4f996
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
c6ba804
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
465b5dd
We shouldn't need to remove all the old Ansible system stuff any more.
gregharvey Nov 10, 2023
c55da9b
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
fb83376
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
adf5acf
Grouping python activities together after role downloads.
gregharvey Nov 10, 2023
52642e5
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
9a64963
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 10, 2023
c68dbed
Need a cache update to make the 'parallel' package avaiable.
gregharvey Nov 13, 2023
3a23578
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
4f9c4c5
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
9296268
Updating path to ce_deploy role for galaxy requirements files.
gregharvey Nov 13, 2023
c8cb40c
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
c26e05d
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
bb99e9e
For shell scripts to work Ansible's python venv needs adding to path.
gregharvey Nov 13, 2023
341f3fe
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
88e3a4f
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
ed489e4
Making sure _common.sh sources Ansible binary path in Python venv.
gregharvey Nov 13, 2023
44acb15
Merge branch '2.x' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
03aad7c
Merge branch 'meta_role_paths' into meta_role_paths-PR-2.x
gregharvey Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ce-dev/ansible/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- ansible.builtin.import_role:
name: _init
- ansible.builtin.import_role:
name: ce_provision
name: debian/ce_provision
- name: Remove example git hooks.
ansible.builtin.file:
path: "/home/ce-dev/ce-provision/.git/hooks"
Expand All @@ -26,7 +26,7 @@
dest: "/home/ce-dev/ce-provision/.git/hooks"
state: link
- ansible.builtin.import_role:
name: aws/aws_cli
name: debian/aws_cli
- ansible.builtin.import_role:
name: aws/aws_credentials
- ansible.builtin.import_role:
Expand Down
7 changes: 7 additions & 0 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,21 @@ LINT="no"
ABSOLUTE_PLAYBOOK_PATH="no"
PARALLEL_RUN="no"
BOTO_PROFILE=""
# Ensure build workspace exists.
if [ ! -d "$BUILD_WORKSPACE_BASE" ]; then
mkdir "$BUILD_WORKSPACE_BASE"
fi
BUILD_TMP_DIR=$(mktemp -d -p "$BUILD_WORKSPACE_BASE")
# Ensure ce-provision data directory exists.
ANSIBLE_DATA_DIR="$OWN_DIR/data"
if [ ! -d "$ANSIBLE_DATA_DIR" ]; then
mkdir "$ANSIBLE_DATA_DIR"
fi
# Load the contents of profile.d in case we added items to $PATH there.
for f in /etc/profile.d/*; do
# shellcheck source=/dev/null
. "$f"
done
# Parse options arguments.
parse_options(){
while [ "${1:-}" ]; do
Expand Down