William Hirigoyen
1f8738fbda
postfix: move postfix installation from evolinux-base to postfix role, plus some refactoring
...
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2696|33|2663|34|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/467//ansiblelint">Evolix » ansible-roles » unstable #467</a>
gitea/ansible-roles/pipeline/head This commit looks good
postfix:
* Move common packages installation in common.yml
* Replace ansible_fqdn by evolinux_fqdn, set postfix_slow_transport_include to false by default (only for packmails and packwebs)
* Remove dependency on evolinux_fqdn var
* Do not overwrite main.cf if it has been modified (except if postfix_force_main_cf)
evolinux-base:
* Move exim4 purge from evolinux-base to postfix role
* Call postfix role call after nagios role (dependency)
2024-02-01 18:00:48 +01:00
William Hirigoyen
5b63ba112c
Revert "evolinux-base: include postfix role, move exim4 purge from evolinux-base to postfix role"
...
This reverts commit a440110cad
.
2023-08-31 17:47:49 +02:00
William Hirigoyen
a440110cad
evolinux-base: include postfix role, move exim4 purge from evolinux-base to postfix role
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2620|19|2601|21|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/336//ansiblelint">Evolix » ansible-roles » unstable #336</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-08-31 17:30:34 +02:00
William Hirigoyen
db0b5ab3db
postfix: add missing localhost.$mydomain to mydestination
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2781|5|2776|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/246//ansiblelint">Evolix » ansible-roles » unstable #246</a>
gitea/ansible-roles/pipeline/head This commit looks good
2023-05-02 14:21:39 +02:00
Jérémy Lecour
8f25dfe041
evolinux-base: syntax
2023-03-18 18:40:03 +01:00
Jérémy Lecour
1728eaee68
Revert "Add “when: not ansible_check_mode” to allow more --check"
...
gitea/ansible-roles/pipeline/head This commit looks good
This reverts commit fafff25c20
.
This reverts commit e64471c5a8084f95a8e6f955d3fa918c55b8e846.
2022-12-14 07:41:18 +01:00
David Prevot
fafff25c20
Add “when: not ansible_check_mode” to allow more --check
gitea/ansible-roles/pipeline/head This commit looks good
2022-12-02 17:40:43 +01:00
Jérémy Lecour
4d83f25ae6
fix pipefail option for shell invocations
continuous-integration/drone/push Build is passing
2021-05-18 14:04:54 +02:00
Jérémy Lecour
e65340cb56
Add pipefail option to shell invocations
continuous-integration/drone/push Build is passing
2021-05-13 15:34:27 +02:00
Jérémy Lecour
2ed77c60f0
Improve Ansible syntax
...
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00
Jérémy Lecour
5138065059
Use 'loop' syntax instead of 'with_items'
2021-05-04 14:19:18 +02:00
Jérémy Lecour
e04d881988
replace "with_items" in apt modules
2019-12-31 16:18:56 +01:00
Jérémy Lecour
bc8858fc0a
evolinux-base: improve hostname configuration
...
We can have a "real" hostname and domain, but also an "internal" hostnae
and domain, used mostly for internal tools.
2018-08-16 16:17:34 +02:00
Victor LABORIE
f56f8f7615
evolinux-base: add mail related aliases
2018-06-25 11:20:37 +02:00
Jérémy Lecour
ef93d56799
evolinux-base: better task name for postfix
2017-10-06 01:06:59 +02:00
Jérémy Lecour
c0d43f72ef
evolinx-base: no comma for postfix config
2017-05-02 13:56:20 +02:00
Victor LABORIE
9dfe6fd175
evolinux-base: use fqdn in default postfix config and add handler
2017-04-27 10:51:21 +02:00
Victor LABORIE
0ad39a1be7
evolinux-base: update hostname in default postfix config
2017-04-25 15:50:22 +02:00
Jérémy Lecour
5b2ab0d8d3
Ansible >= 2.2 supported
2017-03-24 14:15:09 +01:00
Jérémy Lecour
8920ff1ee4
Add "always_run: yes" where it's pertinent
...
There is also the "check_mode: no", but commented,
for when we switch to Ansible 2.2
2017-01-31 11:45:35 +01:00
Jérémy Lecour
e1654414ea
evolinux-base: flush handlers at end of each include
2017-01-03 17:02:23 +01:00
Jérémy Lecour
130e1f2b0e
evolinux-base: add conditions for most of tasks
2017-01-03 16:38:04 +01:00
Gregory Colpart
6c5e880938
add slow_transport configuration for Postfix role
...
and disable Postfix customization in evolinux-base role
2017-01-02 01:14:18 +01:00
Jérémy Lecour
8a20ec5ca2
evolinux_base/postfix: add some variables
...
* myhostname
* mydestination
* myorigin
2016-12-30 10:40:18 +01:00
Jérémy Lecour
79792ec0ed
Postfix is back into evolinux-base
2016-12-21 16:12:31 +01:00