Skip to content

Commit

Permalink
Merge pull request #95 from cisagov/lineage/skeleton
Browse files Browse the repository at this point in the history
⚠️ CONFLICT! Lineage pull request for: skeleton
  • Loading branch information
jsf9k authored May 16, 2024
2 parents ab5720c + 75ca5b2 commit 833aa62
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ ansible>=8,<10
# ansible/ansible#82702, which breaks any symlinked files in vars,
# tasks, etc. for any Ansible role installed via ansible-galaxy.
#
# See also cisagov/skeleton-ansible-role#178.
# See also cisagov/skeleton-ansible-role#178 and
# cisagov/skeleton-generic#180. Note from these PRs that any changes
# made to this dependency must also be made in requirements-test.txt
# in cisagov/skeleton-ansible-role and .pre-commit-config.yaml in
# cisagov/skeleton-generic.
ansible-core<2.16.3
boto3
docopt
Expand Down
12 changes: 12 additions & 0 deletions src/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@
- name: Configure JournalD to preserve logs across reboots
ansible.builtin.include_role:
name: persist_journald
- name: Install and configure systemd-resolved
ansible.builtin.include_role:
name: systemd_resolved
vars:
# Symlink /etc/resolv.conf to a systemd-resolved-provided file
# that points to the DNS servers provided via DHCP instead of
# the DNS stub resolver.
systemd_resolved_resolv_conf_filename: >-
{{ dynamic_resolv_conf_target_dir }}/resolv.conf
# Disable the DNS stub listener, since users may want to use
# port 53 for their own DNS listener.
systemd_resolved_dns_stub_listener: false
2 changes: 2 additions & 0 deletions src/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ roles:
src: https://github.com/cisagov/ansible-role-remove-python2
- name: server_setup
src: https://github.com/cisagov/ansible-role-server-setup
- name: systemd_resolved
src: https://github.com/cisagov/ansible-role-systemd-resolved
- name: ufw
src: https://github.com/cisagov/ansible-role-ufw
- name: upgrade
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0"
__version__ = "0.4.1"

0 comments on commit 833aa62

Please sign in to comment.