Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

please help #7

Open
sSiDs opened this issue Mar 1, 2024 · 5 comments
Open

please help #7

sSiDs opened this issue Mar 1, 2024 · 5 comments

Comments

@sSiDs
Copy link

sSiDs commented Mar 1, 2024

good day, trying on fresh cenos8, but got an error

ERROR! couldn't resolve module/action 'postgresql_pg_hba'. 
This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/root/NetBox4CentOS8/installNB.yml': line 48, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:
  - name: CONFIG POSTGRESQL TO ACCEPT PW-BASED AUTH
    ^ here

[root@netbox NetBox4CentOS8]#

@sSiDs
Copy link
Author

sSiDs commented Mar 1, 2024

ansible [core 2.16.3]
  config file = /root/NetBox4CentOS8/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.12/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.12.1 (main, Jan 23 2024, 13:14:28) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12)
  jinja version = 3.1.2
  libyaml = True

@sSiDs
Copy link
Author

sSiDs commented Mar 1, 2024

got it working...)
now messing up with inventory file O_o
what is the syntax for local install?
`[root@netbox NetBox4CentOS8]# ansible-playbook installNB.yml

PLAY [PLAY 1: INSTALL & INIT REQUIREMENTS] *********************************************************************************************************************************************************************************************************************

TASK [INSTALL DEPENDENCIES] ************************************************************************************************************************************************************************************************************************************
fatal: [localhost]: UNREACHABLE! => changed=false
msg: 'Failed to connect to the host via ssh: root@localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).'
unreachable: true

PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************
localhost : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0`

@sSiDs
Copy link
Author

sSiDs commented Mar 1, 2024

close the issue plz)
i got it working

@sSiDs
Copy link
Author

sSiDs commented Mar 1, 2024

playbook run without errors....
but nothing is working)
funny

@adamwoolhether
Copy link
Owner

@sSiDs I haven't used netbox on the job for almost 2 years now. That was when netbox was at 3.0 or 3.2.

You're welcome to fork this and make changes as needed, I likely won't be updating it again.

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

No branches or pull requests

2 participants