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

Error installing, barebones install #4822

Open
lloydwatkin opened this issue Dec 2, 2019 · 0 comments
Open

Error installing, barebones install #4822

lloydwatkin opened this issue Dec 2, 2019 · 0 comments

Comments

@lloydwatkin
Copy link

TASK [rvm.ruby : Detect rvm binary] ***********************************************************************************************************
ok: [63.32.89.168]

TASK [rvm.ruby : Detect rvm installer] ********************************************************************************************************
ok: [63.32.89.168]

TASK [rvm.ruby : Detect current rvm version] **************************************************************************************************
ok: [63.32.89.168]

TASK [rvm.ruby : Install rvm installer] *******************************************************************************************************
skipping: [63.32.89.168]

TASK [rvm.ruby : Import GPG keys from keyservers] *********************************************************************************************
ok: [63.32.89.168] => (item=hkp://pool.sks-keyservers.net)
skipping: [63.32.89.168] => (item=hkp://ipv4.pool.sks-keyservers.net) 
skipping: [63.32.89.168] => (item=hkp://pgp.mit.edu) 
skipping: [63.32.89.168] => (item=hkp://keyserver.pgp.com) 

TASK [rvm.ruby : Was GPG import from keyservers succesfull?] **********************************************************************************
ok: [63.32.89.168] => (item={'changed': False, 'end': '2019-12-02 10:18:53.600782', 'stdout': '', 'cmd': 'gpg --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB', 'rc': 0, 'start': '2019-12-02 10:18:53.294010', 'stderr': 'gpg: key 105BD0E739499BDB: 8 signatures not checked due to missing keys\ngpg: key 105BD0E739499BDB: "Piotr Kuczynski <piotr.kuczynski@gmail.com>" not changed\ngpg: key 3804BB82D39DC0E3: 108 signatures not checked due to missing keys\ngpg: key 3804BB82D39DC0E3: "Michal Papis (RVM signing) <mpapis@gmail.com>" not changed\ngpg: Total number processed: 2\ngpg:              unchanged: 2', 'delta': '0:00:00.306772', 'invocation': {'module_args': {'creates': None, 'executable': None, '_uses_shell': True, 'strip_empty_ends': True, '_raw_params': 'gpg --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB', 'removes': None, 'argv': None, 'warn': True, 'chdir': None, 'stdin_add_newline': True, 'stdin': None}}, 'stdout_lines': [], 'stderr_lines': ['gpg: key 105BD0E739499BDB: 8 signatures not checked due to missing keys', 'gpg: key 105BD0E739499BDB: "Piotr Kuczynski <piotr.kuczynski@gmail.com>" not changed', 'gpg: key 3804BB82D39DC0E3: 108 signatures not checked due to missing keys', 'gpg: key 3804BB82D39DC0E3: "Michal Papis (RVM signing) <mpapis@gmail.com>" not changed', 'gpg: Total number processed: 2', 'gpg:              unchanged: 2'], 'failed': False, 'item': 'hkp://pool.sks-keyservers.net', 'ansible_loop_var': 'item'})
skipping: [63.32.89.168] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'hkp://ipv4.pool.sks-keyservers.net', 'ansible_loop_var': 'item'}) 
skipping: [63.32.89.168] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'hkp://pgp.mit.edu', 'ansible_loop_var': 'item'}) 
skipping: [63.32.89.168] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'hkp://keyserver.pgp.com', 'ansible_loop_var': 'item'}) 

TASK [rvm.ruby : Import GPG keys from rvm.io, if keyservers failed] ***************************************************************************
skipping: [63.32.89.168] => (item=mpapis.asc) 
skipping: [63.32.89.168] => (item=pkuczynski.asc) 

TASK [rvm.ruby : Install rvm] *****************************************************************************************************************
skipping: [63.32.89.168]

TASK [rvm.ruby : Update rvm] ******************************************************************************************************************
ok: [63.32.89.168]

TASK [rvm.ruby : Configure rvm] ***************************************************************************************************************
skipping: [63.32.89.168]

TASK [rvm.ruby : Detect if rubies are installed] **********************************************************************************************
[DEPRECATION WARNING]: evaluating ruby-2.6.5 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.
fatal: [63.32.89.168]: FAILED! => {"msg": "The conditional check 'rvm1_rubies' failed. The error was: error while evaluating conditional (rvm1_rubies): 'ruby' is undefined\n\nThe error appears to be in '/home/lloyd/.ansible/roles/rvm.ruby/tasks/rubies.yml': line 3, 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: Detect if rubies are installed\n  ^ here\n"}

My playbook:

    - { role: rvm.ruby,
        tags: ruby,
        rvm1_rubies: 'ruby-2.6.5',
        rvm1_ruby_install_flags: '-C --with-jemalloc',
        rvm1_install_flags: '--auto-dotfiles',
        rvm1_bundler_install: True,
        rvm1_user: root,
        rvm1_rvm_version: 'stable'
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant