-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from companieshouse/additional-tooling
Add additional CLI tooling
- Loading branch information
Showing
4 changed files
with
713 additions
and
1 deletion.
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,7 @@ | ||
--- | ||
|
||
- name: Restart Postfix service | ||
ansible.builtin.systemd: | ||
name: postfix | ||
state: restarted | ||
enabled: true |
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
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,32 @@ | ||
--- | ||
|
||
- name: Install mailx mail processing system # noqa fqcn[action-core] | ||
ansible.builtin.yum: | ||
name: mailx | ||
state: present | ||
|
||
- name: Disable mailx inbuilt SMTP relay | ||
ansible.builtin.replace: | ||
path: /etc/mail.rc | ||
regexp: '^(set smtp=.*)' | ||
replace: '#\1' | ||
|
||
- name: Configure Postfix mail transfer agent | ||
ansible.builtin.template: | ||
src: main.cf.j2 | ||
dest: "{{ postfix_config_path }}" | ||
owner: root | ||
group: root | ||
mode: '0644' | ||
notify: | ||
- Restart Postfix service | ||
|
||
- name: Install additional CLI tools # noqa fqcn[action-core] | ||
ansible.builtin.yum: | ||
name: | ||
- vim | ||
- telnet | ||
state: present | ||
|
||
- name: Flush handlers | ||
ansible.builtin.meta: flush_handlers |
Oops, something went wrong.