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
60 commits
Select commit Hold shift + click to select a range
90aeb2c
Improving AWS subnet docs.
gregharvey Nov 22, 2023
c277047
Merge branch '2.x' into bug_fixes_2.x
gregharvey Nov 30, 2023
97570e3
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 12, 2023
7c31b40
Error in timers structure in the SSL role.
gregharvey Dec 12, 2023
44a4d87
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 12, 2023
fd6c81b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 12, 2023
8a5acaa
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 21, 2023
b75fe03
Removing obsolete backports requirements.
gregharvey Dec 21, 2023
c57b886
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
b270172
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
5b27a8c
Allow the billing role to access Sustainability information.
gregharvey Dec 21, 2023
053097b
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
23bec8f
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
883e323
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 21, 2023
dff1847
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 21, 2023
9ca4148
Missing comma in IAM billing policy.
gregharvey Dec 21, 2023
1e07a78
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
fa8c5dc
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Dec 21, 2023
d753fad
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 9, 2024
c8199be
Removing broken GitLab Runner code.
gregharvey Jan 9, 2024
e1b01a8
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 9, 2024
c222fec
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 9, 2024
0ba4138
Fixed the include_role task in gitlab_runner.
gregharvey Jan 10, 2024
aacf70b
Suppressing a failure if there is no system pip to call.
gregharvey Jan 10, 2024
8b20f84
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
6357281
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
c634ef5
Logic error in Ansible installer username, needs to be set from calli…
gregharvey Jan 10, 2024
7e5fb2b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
2673659
ansible_user is a reserved variable, seems to be causing issues.
gregharvey Jan 10, 2024
3dbd017
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
c6af4c0
_ansible_ANYTHING is reserved, using _install_username instead.
gregharvey Jan 10, 2024
2c487c2
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
b302676
python_boto role also needs the username set in the calling role.
gregharvey Jan 10, 2024
2fe29a1
Updating python_boto docs.
gregharvey Jan 10, 2024
b56f6a2
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
443534d
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 10, 2024
32f3ced
Making profile.d loading more robust.
gregharvey Jan 11, 2024
1f8d80e
Also pip removing ansible-core and trying with pip and pip3 to cover …
gregharvey Jan 11, 2024
ff2803f
Updating bad AWS SG role var namespacing in other roles.
gregharvey Jan 11, 2024
edf2185
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 11, 2024
d57d760
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 11, 2024
0966398
Refactoring how we handle python3-pip.
gregharvey Jan 11, 2024
45814bd
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 11, 2024
bf05609
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 11, 2024
6b2b69b
Allow passing in of the Python interpreter to Ansible.
gregharvey Jan 12, 2024
ff82392
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 12, 2024
3c1d06c
Updating the packages server for CE.
gregharvey Jan 15, 2024
f9d55ad
Merging 2.x.
gregharvey Jan 15, 2024
c765a4b
Merging devel.
gregharvey Jan 15, 2024
d6a819e
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 15, 2024
2b422a9
Installing Ansible in a venv on all machines.
gregharvey Jan 16, 2024
54585fc
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 16, 2024
33abf0a
Changing common_base format for readability.
gregharvey Jan 16, 2024
a3ef3e9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 16, 2024
394ec01
No need to specify Python to the point release.
gregharvey Jan 17, 2024
d44cda2
Merge branch '2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 17, 2024
3697d1c
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 17, 2024
122e4a8
Merging 2.x.
gregharvey Jan 17, 2024
f906530
Docs update.
gregharvey Jan 17, 2024
1657971
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-2.x
gregharvey Jan 17, 2024
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
2 changes: 1 addition & 1 deletion docs/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
- [SSHD](/roles/debian/ssh_server)
- [SSL](/roles/debian/ssl)
- [sudo config](/roles/debian/sudo_config)
- [General swap role to add swap space](/roles/debian/swap)
- [Swap](/roles/debian/swap)
- [varnish-config](/roles/debian/varnish_config)
- [wazuh](/roles/debian/wazuh)
- [Init role](/roles/_init)
Expand Down
14 changes: 8 additions & 6 deletions docs/roles/debian/python_common.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ Packages required by all Python scripts and applications.
```yaml
---
python_common:
remove_packages:
- python-pip
- python3-yaml # linters need a newer version of PyYAML than the one that ships with Debian
- python-botocore
- python-urllib3
cleanup: false # set to true to remove unwanted packages
remove_packages: [] # list of packages to remove if cleanup: true
# Example from ansible role
#- python-pip
#- python3-yaml # linters need a newer version of PyYAML than the one that ships with Debian
#- python-botocore
#- python-urllib3
# Commonly required Python system packages
install_packages:
- python3-distutils
- python3-venv
- python3-pip
- cloud-init # package can get removed with python3-yaml but we need it for auto-scale
```

Expand Down
7 changes: 3 additions & 4 deletions docs/roles/debian/swap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# General swap role to add swap space

By default, role is set to add 2G of swap space.
# Swap
General role to add swap space to servers. By default, role is set to add 4G of swap space. As a general rule of thumb, swap should be set to 2.5 times the amount of RAM. So if a server has 2G RAM, we should set swap to 5G by setting `size: "5G"` in the variables for that server.

<!--TOC-->
<!--ENDTOC-->
Expand All @@ -11,7 +10,7 @@ By default, role is set to add 2G of swap space.
---
swap:
count: 2048
size: "2G"
size: "4G"
swap_space: swapfile

```
Expand Down
2 changes: 1 addition & 1 deletion roles/_meta/common_base/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies:
- role: debian/ansible
ce_ansible:
venv_path: "/home/{{ ce_provision.username }}/ansible"
venv_command: "/usr/bin/python3.11 -m venv"
venv_command: "/usr/bin/python3 -m venv"
install_username: "{{ ce_provision.username }}"
upgrade:
enabled: true
Expand Down
14 changes: 8 additions & 6 deletions roles/debian/python_common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ Packages required by all Python scripts and applications.
```yaml
---
python_common:
remove_packages:
- python-pip
- python3-yaml # linters need a newer version of PyYAML than the one that ships with Debian
- python-botocore
- python-urllib3
cleanup: false # set to true to remove unwanted packages
remove_packages: [] # list of packages to remove if cleanup: true
# Example from ansible role
#- python-pip
#- python3-yaml # linters need a newer version of PyYAML than the one that ships with Debian
#- python-botocore
#- python-urllib3
# Commonly required Python system packages
install_packages:
- python3-distutils
- python3-venv
- python3-pip
- cloud-init # package can get removed with python3-yaml but we need it for auto-scale
```

Expand Down
7 changes: 2 additions & 5 deletions roles/debian/swap/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# General swap role to add swap space

By default, role is set to add 2G of swap space.
As a general rule of thumb, swap should be set to 2.5x of current RAM.
If server has 2G RAM, set RAM to 5G by creating swap.yml inside vars at local directory.
# Swap
General role to add swap space to servers. By default, role is set to add 4G of swap space. As a general rule of thumb, swap should be set to 2.5 times the amount of RAM. So if a server has 2G RAM, we should set swap to 5G by setting `size: "5G"` in the variables for that server.

<!--TOC-->
<!--ENDTOC-->
Expand Down