Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update common role #565

Open
spartan782 opened this issue Apr 30, 2021 · 2 comments
Open

Update common role #565

spartan782 opened this issue Apr 30, 2021 · 2 comments
Milestone

Comments

@spartan782
Copy link
Contributor

Each role needs to be checked and update any ansible modules or tasks that are deprecated, failing or giving warnings.

@spartan782 spartan782 added this to the 3.0 milestone Apr 30, 2021
@koelslaw
Copy link
Contributor

  • TASK [common : Disable IPv6 for all interfaces] ****************************************************************
    [WARNING]: The value 1 (type int) in a string field was converted to u'1' (type string). If this does not look
    like what you expect, quote the entire value to ensure it does not change.
    changed: [simplerockbuild.simplerock.lan]

  • TASK [common : Configure RockNSM online repos] *****************************************************************
    changed: [simplerockbuild.simplerock.lan] => (item={u'gpgcheck': True, u'name': u'rocknsm_2_5', u'baseurl': u'https://packagecloud.io/rocknsm/2_5/el/7/$basearch'})
    changed: [simplerockbuild.simplerock.lan] => (item={u'gpgcheck': False, u'name': u'rocknsm_2_5-source', u'baseurl': u'https://packagecloud.io/rocknsm/2_5/el/7/SRPMS'})
    [WARNING]: The value 750 (type int) in a string field was converted to u'750' (type string). If this does not
    look like what you expect, quote the entire value to ensure it does not change.
    [WARNING]: The value 300 (type int) in a string field was converted to u'300' (type string). If this does not
    look like what you expect, quote the entire value to ensure it does not change.

  • TASK [common : Create RockNSM control script symlink] **********************************************************
    [WARNING]: Cannot set fs attributes on a non-existent symlink target. follow should be set to False to avoid
    this.
    changed: [simplerockbuild.simplerock.lan]

@koelslaw
Copy link
Contributor

Offline Deploy:

  • TASK [common : Download RockNSM elastic configs] *******************************************************************************[DEPRECATION WARNING]: evaluating u'rock_online_install' as a bare variable, this behaviour will go away and you might need to
    add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in
    version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

  • TASK [common : Add the inventory into /etc/hosts] ******************************************************************************
    fatal: [simplerockbuild.simplerock.lan]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'address'\n\nThe error appears to be in '/usr/share/rock/roles/common/tasks/configure.yml': line 91, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add the inventory into /etc/hosts\n ^ here\n"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants