Mariusz Sielicki
84bfdf54ad
skip resizing swap filesystem
2022-05-27 17:56:09 +02:00
Samuel Mutel
6e74c9714e
enh: Add variable rescan_scsi_command
2022-04-11 13:49:46 +02:00
Christian González
71a3930e5b
Fix syntax error on tasks/centos.yml
2022-01-13 10:50:13 +01:00
Larry Smith Jr
263c8d2b3f
Merge pull request #73 from mnasiadka/mnasiadka/nvme_only
...
centos: Skip SCSI tasks on NVMe only hosts
2022-01-04 14:47:16 -05:00
Michal Nasiadka
0bfd390ace
centos: Skip SCSI tasks on NVMe only hosts
2021-12-10 15:01:59 +01:00
Piotr Parczewski
cb3a75c984
CentOS: Optimise package installs
2021-11-22 20:27:27 +01:00
Mark Goddard
73b6bce608
Use ansible_facts to reference facts
...
By default, Ansible injects a variable for every fact, prefixed with
ansible_. This can result in a large number of variables for each host,
which at scale can incur a performance penalty. Ansible provides a
configuration option [0] that can be set to False to prevent this
injection of facts. In this case, facts should be referenced via
ansible_facts.<fact>.
This change updates all references to Ansible facts from using
individual fact variables to using the items in the
ansible_facts dictionary. This allows users to disable fact variable
injection in their Ansible configuration, which may provide some
performance improvement.
[0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
2021-05-13 17:21:42 +01:00
Roxyrob
1bb56066fe
* Doc: set subfile task comments
2021-03-19 19:28:54 +01:00
Roxyrob
cb792e59a6
* Refactor: aws code in its own tasks file to mitigate concerns about performance at scale
2021-03-18 15:38:22 +01:00
Roxyrob
48e3be3c5c
* Refactor: task comment review
2021-03-17 13:46:10 +01:00
Roxyrob
2492c96566
* Fix: allow automatic pvresize also for ansible ersion 2.10 or above without new lvg collection version installed
2021-03-17 10:01:24 +01:00
Roxyrob
e4bc8a9e9b
* Fix: lint
2021-03-17 01:40:26 +01:00
Roxyrob
1d57a469b0
* Fix: pvresize waiting for new collection lvg native support
2021-03-17 01:29:14 +01:00
Roxyrob
19e56ac7d8
* Fix: improve centos7/8 recognize scsi disk resize without reboot
2021-03-17 01:24:15 +01:00
Roxyrob
5c3e601078
* Fix: lint
2021-03-17 01:13:53 +01:00
Roxyrob
535b410363
* Fix: follow best practice for pipe in shell command
2021-03-16 23:24:24 +01:00
Roxyrob
34e4f08c31
* New: support mitigation for aws ec2 nvme random device name assignment
2021-03-16 19:41:37 +01:00
Charlie Mordant
b288695b9a
lint
2020-06-07 17:25:33 +02:00
Charlie Mordant
ed0eb14ce8
xfs resize
2020-06-07 17:17:48 +02:00
Charlie Mordant
15b2b7b4e0
rebased mrjsmith
2020-05-14 23:43:59 +02:00
Charlie Mordant
c40f9b7d03
testing singl lv and only vg
2020-05-11 16:35:00 +02:00
Charlie Mordant
0621cadde8
avoid error when lv not defined
2020-05-11 14:36:04 +02:00
Charlie Mordant
b7cef8e323
avoid error when lv not defined
2020-05-11 14:26:48 +02:00
Charlie Mordant
59ffcfac4a
avoid error when lv not defined
2020-05-11 14:23:32 +02:00
Charlie Mordant
976ff31d00
avoid error when lv not defined
2020-05-11 14:21:02 +02:00
Charlie Mordant
b731c20100
rename manage_lvm.yml due to recursive parsing error
2020-05-11 13:51:45 +02:00
Larry Smith Jr
e423ebd56b
Fix original issue
...
- The previous patch did not resolve the original issue raised. This now
works and has been tested with the configuration provided as part of
the open issue.
- Resolves #42
2020-04-27 13:39:59 -04:00
Larry Smith Jr
881d5d77fa
Fixing syntax issue for wantlist
2020-04-27 11:26:18 -04:00
Larry Smith Jr
89360e3ffe
Trying to fix the subelements lookup for a single element
...
This addresses #42 . Will need to do some validation testing, etc.
2020-04-27 11:16:02 -04:00
Charlie Mordant
325c2d6240
install xfs
2020-04-23 19:25:09 +02:00
Charlie Mordant
4a1177e420
use xfs_info on mountpoint instead of lvm
2020-04-21 19:01:29 +02:00
Charlie Mordant
2f63eab727
code smells
2020-04-17 12:56:31 +02:00
Charlie Mordant
050f8a56f1
typo in check
2020-04-15 19:08:34 +02:00
Charlie Mordant
b955a6f073
remove unwanted newline
2020-04-15 18:54:17 +02:00
Charlie Mordant
f81937e9d8
makes xfs mountpoint repeatable
2020-04-15 18:52:52 +02:00
Charlie Mordant
1c3818e5d0
mistake on remove volume
2020-04-15 17:34:53 +02:00
Charlie Mordant
17e8ec1058
configured molecule and fix xfs on centos
2020-04-15 16:56:18 +02:00
Charlie Mordant
ba5d929fce
use dots instead of carets
2020-04-15 15:14:30 +02:00
Charlie Mordant
ea9109220b
molecule test and idempotence
2020-04-15 14:33:41 +02:00
Samuel Mutel
d8b3a4e932
bug: Resize XFS parts is not working
2019-10-14 12:21:03 +02:00
Tony Peña
b15ecea51d
Update debian.yml
...
Since ansible 2.8.0 must be change way using dict
2019-06-26 14:56:13 +02:00
Michele Caputo
9788ee5df6
issue #23 : extra parenthesis
2019-04-08 14:16:04 +02:00
faisalnizam
0f428a0e40
FIX LINT FOR BUILD
...
FIX LINT FOR BUILD
2019-04-03 08:36:49 -04:00
faisalnizam
8957630c04
Adding SWAP FileSystem Exception
...
Adding Check for SWAP Filesystem if defined skip
1. SKIP New Filesystem Creation
2. SKIP mountpoint check
2019-04-03 08:36:49 -04:00
Larry Smith Jr
9f4afa7afb
Fixing Travis testing and yamllint issues
2018-12-05 08:00:13 -05:00
Mark Goddard
563aa1effb
Fix indentation
2018-10-31 11:42:20 +00:00
Mark Goddard
4a58cb36cf
Update tasks/manage_lvm.yml
...
Co-Authored-By: oneswig <stig.github@telfer.org >
2018-10-31 11:16:27 +00:00
Stig Telfer
a0c784797f
Support not formatting volumes.
...
Logic to make the filesystem attribute optional, in situations where
we do not want the volumes formatted.
2018-10-31 10:16:44 +01:00
David Castellanos
66368de1d3
Add opts and mopts support
2017-12-18 00:55:32 +01:00
Larry Smith Jr
386cc28bdb
Addresses issue #10
...
Signed-off-by: Larry Smith Jr <mrlesmithjr@gmail.com >
2017-06-11 14:57:53 -04:00