Commit graph

21 commits

Author SHA1 Message Date
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
Jérémy Lecour cbe7985814 Enforce String notation for mode 2022-06-08 15:38:21 +02:00
Jérémy Lecour 02451f1e67 add default (useless) value for file lookup
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-19 14:35:08 +02:00
Jérémy Lecour e7ddf9d46c Use 'loop' syntax instead of 'with_list' 2021-05-04 14:31:22 +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 debc4a82ca Use 'loop' syntax instead of 'with_first_found'
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-04 13:39:47 +02:00
Patrick Marchand ebecda38b6 Fixed evobackup-client not updating the ssh key in the jail
All checks were successful
continuous-integration/drone/push Build is passing
I have no idea how this got past testing, but apparently, the task
did not even exist..
2020-04-24 10:46:10 -04:00
Patrick Marchand 53ae27b250 evobackup-client now uses the default ed25519 key of the server
All checks were successful
continuous-integration/drone/push Build is passing
We used to prefer creating a specific one for backups, but everybody
kept thinking the wrong key was being used and "fixing" it. The
advantages of having a specific key for backups did not outweigh
the challenge of creating a culture change.
2020-04-24 10:36:36 -04:00
Patrick Marchand d9517e8033 Update evobackup_client zzz_evobackup script
All checks were successful
continuous-integration/drone/push Build is passing
Use latest evobackup master and adds new evobackup_client__servers_fallback
variable.
2020-03-23 10:52:20 -04:00
Patrick Marchand af61b7f97d Temp fix for regression introduced by bkctld 2.x
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
The erroneous error codes returned by bkctld will make playbooks
fail even though the commands run succesfully.
See evolix/evobackup#31
2020-01-16 12:18:51 +01:00
Patrick Marchand 0b4095d8dd bkctld restart works better than bkctld start
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
a simple start will fail if the jail is already started, there is potential for a race condition.
2019-12-19 10:30:58 -05:00
Patrick Marchand 5178e99e7c typo in evobackup jail file task name
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is passing
2019-10-10 15:40:00 -04:00
Patrick Marchand 5a20292ec9 rename create_jail.yml to jail.yml in evobackup-client
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
2019-10-07 13:53:55 -04:00
Patrick Marchand d4742b411d Added evobackup sync when more than one host 2019-10-07 13:53:10 -04:00
Patrick Marchand daad12fdeb Handle backup jail creation
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
Does not handle sync step yet
2019-10-07 12:28:25 -04:00
Patrick Marchand 87202fa264 fixed typo in evobackup-cilent
Not sure how this slipped in
2019-09-23 15:26:30 -04:00
Patrick Marchand b36202f8d1 minifirewall was not restarted by evobackup-client after mods. 2019-09-06 17:53:48 -04:00
Patrick Marchand d226ce594a Changed variables to all lower snake case for evobackup-client
Not just esthetic, for some reason ansible refused to run with '-'
somewhere and I just could not find where, changing variables and
tags to use '_' fixed it. It's more consistent anyway.
2019-09-06 17:49:40 -04:00
Patrick Marchand 0f7d9e9f24 Allow heterogeneous ports
This makes it a bit more annoying to define default hosts for
multiple machines, but it's not that bad and it's better than not
being able to define heterogeous ports.
2019-09-03 10:29:05 -04:00
Patrick Marchand c773c901f2 Fix to evobackup-client variable names
Somehow, an extra _ managed to slide itself in a few places.
2019-09-03 09:51:46 -04:00
Patrick Marchand 1c12827c9c Added evobackup-client role
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build encountered an error
2019-08-30 14:43:52 -04:00