Как сохранить IP-адрес экземпляра EC2 в файле hosts с помощью Ansible? [Дубликат]

<html>
    <head>
        <title>HTML Document</title>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
    </head>

    <body>
        <div id="hover-id">
            Hello World
        </div>

        <script>
            jQuery(document).ready(function($){
                $(document).on('mouseover', '#hover-id', function(){
                    $(this).css('color','yellowgreen');
                });

                $(document).on('mouseout', '#hover-id', function(){
                    $(this).css('color','black');
                });
            });
        </script>
    </body>
</html>
0
задан techraf 28 February 2017 в 03:17
поделиться

1 ответ

with_items (и все семейство петель with_) - это ключ словаря, определенный в задаче, а не как параметр для действия.

Исправить отступ:

- debug:
    msg: "Instance: {{ item.instances }}"
  with_items: "{{ elb_facts.elbs }}"
5
ответ дан techraf 17 August 2018 в 16:52
поделиться
Другие вопросы по тегам:

Похожие вопросы: