Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RFE: add possibility to overwrite RAM check #7

Open
ericzolf opened this issue Nov 29, 2018 · 0 comments
Open

RFE: add possibility to overwrite RAM check #7

ericzolf opened this issue Nov 29, 2018 · 0 comments

Comments

@ericzolf
Copy link
Collaborator

Since version 3.3.1 Tower raised the memory check to 4GB, which is quite high for a simple test VM.

I suspect that it should be sufficient to manipulate the inventory of setup.sh, by adding the variable required_ram set to the value of ansible_memtotal_mb in the section [all:vars].

Compare with:

./roles/preflight/defaults/main.yml:required_ram: 3750
./roles/preflight/tasks/main.yml:  when: ansible_memtotal_mb < required_ram|int
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant