Hi,
i got a question on how to change the SSH port via bastion host
So, the setup is this:
ansible server (on ssh port 6701) ---> Bastion server (on ssh port 6701)
--> linux server (on ssh port 22)
i tried to add "ansible_ssh=22" in the inventory file, but this will try to
connect from
Hi,
So i got this error:
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
This is the ansible information
[ansible@laansible1]$ ansible --version
ansible 2.5.0
config file = /etc/ansible/ansible.cfg
configured
Hi,
so i got this playbook with this header:
--- #WEBSERVVER
- hosts: webserver
user: ansible
become: yes
become_method: su
when running the playbook via command:
ansible-playbook -i ../hosts webserver.yml -K
SUDO password:
Instead of asking for su password, it's somehow asking for
wr_btn"
> when: power_status != "ON"
>
> - name: Reboot server - if it is powered up
> command: "{{hpilo_cli_cmd}} cold_boot_server"
> when: power_status == "ON"
>
> Hope that helps.
>
> Dave
>
>
> On Monday, 9 April
Hi Dave and Amarjeet,
Thanks for the feedback.
i will give it a try!
Many thanks!
On Monday, April 9, 2018 at 8:37:15 AM UTC, Benny Kusman wrote:
>
> Hi,
>
> has anyone implemented setting up HP ILO using ansible, when the server
> has no OS yet ?
> if the server has been
"
> like
> the following. Note that the host "remote" doesn't exist and you'd
> probably receive an error under normal circumstances:
>
> Host *.someserverbehindjumpbox.com
> ControlMaster no
> ProxyCommand ssh -S ~/.ssh/master-*@jumpboxserver:%p -W %h:%p
>
thanks Richard!
On Monday, April 9, 2018 at 6:04:51 PM UTC+8, richard wrote:
>
> On 09/04/18 21:57, Benny Kusman wrote:
> > Hi
> >
> > Hopefully someone has encountered and resolved this issue.
> >
> > supposedly my playbook:
> > *- main: execu
Hi
Hopefully someone has encountered and resolved this issue.
supposedly my playbook:
*- main: execute script*
* shell: "/home/settingip"*
when executing the program, it will run and require stdin/keyboard input,
such as IP, hostname, etc.
can i pre-fill this in ansible ? knowing that the
Hi,
has anyone implemented setting up HP ILO using ansible, when the server has
no OS yet ?
if the server has been installed and has hponcfg command, there is ansible
module for it.
But wondering, if anyone has tried to setup the server in the ilo using
ansible (just simply specifying the ilo
@]hostname [command]
ssh_exchange_identification: Connection closed by remote host
On Monday, April 9, 2018 at 7:18:32 AM UTC, Benny Kusman wrote:
>
> Hi
>
> ssh -F ssh.config -fN user@some_jumpbox --> im able to establish this
> and send it back to the background
> s
this is a great step.
im able to establish the tunneling with the jumphost.
but i was wondering, what did you put in the hosts filfe ?
im still not able to reach the server
On Monday, February 16, 2015 at 12:11:58 AM UTC, Michael Spiegle wrote:
>
> As an additional datapoint, here's a brief
11 matches
Mail list logo