22 Commits

Author SHA1 Message Date
Larry Smith Jr d27a3809d9 Fixed linting issues 2023-06-15 08:52:28 -04: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 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 e4bc8a9e9b * Fix: lint 2021-03-17 01:40:26 +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
Larry Smith Jr ec0737d26b Cleaned up distro specific tasks
- Cleaned up conditions, etc.
2020-04-27 13:47:40 -04: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 ea9109220b molecule test and idempotence 2020-04-15 14:33:41 +02: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
Rohit Kothari 99366fa547 Replace system-storage-manager with lvm2 in centos 2016-09-29 17:59:19 -07:00
Larry Smith Jr d1d99b2f17 first commit 2015-11-02 21:23:03 -05:00